forked from CremboC/INI
-
Notifications
You must be signed in to change notification settings - Fork 1
State
josephhamm edited this page Jan 23, 2014
·
1 revision
This class handles all state-related functionalities. Mainly, however, it handles the timer of the game as it both increments the timer (using a built-in function to detect how much time has passed since the last frame) and stores it for any class to use. It should be noted that the increment function State.tick()
must be synchronized as otherwise the timer may sometimes come up as 0 after aircraft have collided.