-
Notifications
You must be signed in to change notification settings - Fork 0
Main_Gameplay
Riemann edited this page Nov 20, 2013
·
5 revisions
The state that dictates what happens during gameplay. Many things happen during this state. It uses a standard update render loop.
Important Fields:
- map The terrain of the game. Stored as a bytemap compatible with images.
- players An arraylist of the players of type tank.
The core of the logic for the game. Most of the logic executes in the timeStep bound loop. Input detection are acceptable exceptions to this. Also keeps track of whose turn it is and switches accordingly.

See: Source