Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

18VA near completed #534

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

18VA near completed #534

wants to merge 4 commits into from

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.

None yet

1 participant