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

AircraftController: initialise #8

Closed
CremboC opened this issue Nov 26, 2013 · 1 comment
Closed

AircraftController: initialise #8

CremboC opened this issue Nov 26, 2013 · 1 comment

Comments

@CremboC
Copy link
Owner

CremboC commented Nov 26, 2013

Generate permanent waypoints. Choose from (list of?) hard-coded options.

@CremboC
Copy link
Owner Author

CremboC commented Dec 3, 2013

@PWDrew @josephhamm you now have the game difficulty in the constructor of the class.
GameDifficulty.java:

public enum GameDifficulty {
    EASY, MEDIUM, HARD
}

In the constructor of AircraftController you now have:

public AircraftController(GameDifficulty diff, Stage stage, InputHandler input) {
    // ...
}

You can do something like

if (diff == GameDifficulty.EASY) {
    // do something for easy
}

if (diff == GameDifficulty.MEDIUM) {
    // do something for easy
}

@CremboC CremboC closed this as completed Jan 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant