Skip to content

Conversation

@erik-vos
Copy link
Contributor

Added default revenue calculation methods to RevenueManager, and a subclass RevenueManager_18VA to provide real stop values for the initialization of each NetworkVertex, possibly depending on train type and company properties. So RevenueManager is no longer a final class. IMO this makes the predictionValue() method in dynamic modifiers obsolete.

Also added a simple Revenue class, that carries two integers for normal and special revenue. For 18VA, special is used for the mine income that goes directly to the company treasury (as 1837). The intention is to have revenue objects carry all revenues, but for now it is only applied to 18VA.

Added default revenue calculation methods to RevenueManager, and a subclass RevenueManager_18VA to provide real stop values for the initialization of each NetworkVertex, possibly depending on train type and company properties. So RevenueManager is no longer a final class. Also the predictionValue() method in dynamic modifiers is now obsolete.

Also added a simple Revenue class, that carries two integers for normal and special revenue. For 18VA, special is used for the mine income that goes directly to the company treasury. The intention is to have revenue objects carry all revenues, but for now it is only applied to 18VA.
@erik-vos erik-vos requested a review from neutronc April 28, 2023 13:16
@erik-vos erik-vos self-assigned this Apr 28, 2023
@erik-vos
Copy link
Contributor Author

This time all checks fail. No clue why. Could one of the 'dependabot' PRs be the cause?
Unfortunately, that stuff is out of my scope.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant