-
Notifications
You must be signed in to change notification settings - Fork 3
Aircraft Controller
Paulius Imbrasas edited this page Jan 16, 2014
·
2 revisions
Initiated in the GameScreen, it creates, controls, manages and destroys aircraft. Further more, it also controls, manages and destroys waypoints.
As it is created in the GameScreen, it has to manage many different things, meaning it has receives quite a few arguments when created:
- GameDifficulty diff - uses to change variables (according to our Assessment 1 document - separation radius).
- Airspace airspace - a wrapper (Group) in which all aircraft and waypoints are inserted.
- Table sidebar - not really used in this class, only passed onto the SidebarController as part of the UI
- GameScreen screen - the calling class, used to change screens.