This class is the engine of the program. It encapsulates all the methods to do with managing scores, commands and player states(dead/alive).

Embed: (wiki syntax)

« Back to documentation index

Player Struct Reference

Player Struct Reference

Player Struct. More...

#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.

Author:
Dominic Kay
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.