-
Notifications
You must be signed in to change notification settings - Fork 0
STAT
Riemann edited this page Nov 20, 2013
·
3 revisions
The class that defines the stat object. Every tank has a STAT object to keep track of statistics during the game. This information is displayed in GAME_OVER.
Select Important Fields
- totalMoves Keeps a running tab on the number of cycles or moves each tank has made.
- shotsHit Keeps a running tab on the number of shots from the tank that had hit a tank.
- shotsFired Keeps a running tab on the number of shots that tank has fired.
- totalDamage Keeps a running tab on the amount of damage that tank has taken.
This creates a list of the names of the statistics that will be displayed in the GAME_OVER state
##listOfStats() This creates a list of the actual statistics that will be displayed in the GAME_OVER state
See: Source