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

Refactor FlightTutorial, FuelScoopTutorial, StationLandingTutorial, TemplateTutorial as classes #236

Open
BarthPaleologue opened this issue Jan 7, 2025 · 0 comments

Comments

@BarthPaleologue
Copy link
Owner

Right now the tutorials are implemented as global objects, which I want to avoid where possible.

Here, it is quite straightforward to refactor them as classes implementing the Tutorial interface and instantiating them where they are used. Having classes may also allow to create variations around these tutorials in the future.

The save loading and parsing can then be moved to their tutorial's respective constructor.

Also adding the license header in those files would be a nice improvement!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant