This class is the engine of the program. It encapsulates all the methods to do with managing scores, commands and player states(dead/alive).
Player Struct Reference
#include <Operator.h>
Data Fields | |
| float | wait |
| float for wait time | |
| bool | status |
| true/flase alive or dead | |
| int | _score |
| score | |
Detailed Description
Player Struct.
This Struct stores:- whether the previous player has already lost the game or not, how much time they intially had to perform an instruction and the score they have. This struct is crucial for multiplayer.
- Date:
- April 2017
Definition at line 17 of file Operator.h.
Field Documentation
| int _score |
score
Definition at line 20 of file Operator.h.
| bool status |
true/flase alive or dead
Definition at line 19 of file Operator.h.
| float wait |
float for wait time
Definition at line 18 of file Operator.h.
Generated on Sat Jul 16 2022 02:04:54 by
1.7.2