stateOfGame Struct Reference

Data struct containing the game's state properties. More...

#include <schemaGameUtility.h>


Data Fields

unsigned int currentRow
 Current Row position in the game.
unsigned int currentCol
 Current Column position in the game.
unsigned int bestrouteweight
 Minimum (or best) route in the game.
unsigned int iters
 Current number of visited cell in the game.
unsigned short int currentlevel
 Current level in the tournament.
unsigned int totalpoints
 Total points of the tournament.
unsigned long starttime
 Start time of current game.
bool playing
 Says true if user is playing.
unsigned short int numOfRound
 Number of level in the tournament.


Detailed Description

Data struct containing the game's state properties.

Definition at line 37 of file schemaGameUtility.h.


Field Documentation

Minimum (or best) route in the game.

Definition at line 46 of file schemaGameUtility.h.

Referenced by calcSchemaResults(), generate_game(), initializeCurrentGameState(), new_tournament(), and open_game().

Current Column position in the game.

Definition at line 43 of file schemaGameUtility.h.

Referenced by checkKeyPressed(), drawingAndSetSchemaInfo(), initializeCurrentGameState(), keypressed(), new_tournament(), and updateSchemaCell().

unsigned short int stateOfGame::currentlevel

Current level in the tournament.

Definition at line 52 of file schemaGameUtility.h.

Referenced by calcSchemaResults(), generate_game(), initializeCurrentGameState(), new_tournament(), open_game(), and win().

Current Row position in the game.

Definition at line 40 of file schemaGameUtility.h.

Referenced by checkKeyPressed(), drawingAndSetSchemaInfo(), initializeCurrentGameState(), keypressed(), new_tournament(), and updateSchemaCell().

unsigned int stateOfGame::iters

Current number of visited cell in the game.

Definition at line 49 of file schemaGameUtility.h.

Referenced by calcSchemaResults(), drawingAndSetSchemaInfo(), initializeCurrentGameState(), new_tournament(), and updateSchemaCell().

unsigned short int stateOfGame::numOfRound

Number of level in the tournament.

Definition at line 64 of file schemaGameUtility.h.

Referenced by calcSchemaResults(), generate_game(), initializeCurrentGameState(), new_tournament(), open_game(), and win().

Says true if user is playing.

Definition at line 61 of file schemaGameUtility.h.

Referenced by drawingAndSetSchemaInfo(), generate_game(), initializeCurrentGameState(), keypressed(), new_tournament(), open_game(), and win().

unsigned long stateOfGame::starttime

Start time of current game.

Definition at line 58 of file schemaGameUtility.h.

Referenced by calcSchemaResults(), drawingAndSetSchemaInfo(), initializeCurrentGameState(), and new_tournament().

Total points of the tournament.

Definition at line 55 of file schemaGameUtility.h.

Referenced by calcSchemaResults(), generate_game(), initializeCurrentGameState(), new_tournament(), open_game(), and win().


The documentation for this struct was generated from the following file:

Generated on Fri Apr 2 18:28:10 2010 for SMLabyrinth by  doxygen 1.5.8