#include <game.h>
Collaboration diagram for Games::GameState:

Public Member Functions | |
| GameState (int size) | |
| general constructor | |
| GameState () | |
| dummy constructor | |
| void | getData (unsigned char *ptr) |
| get data and clear newData flag | |
| void | setData (unsigned char *ptr) |
| set data and set newData flag | |
| void | print () |
| print informations about game state | |
| void | sendMessage (Net::Socket socket, unsigned char type) |
| send message to remote player | |
Public Attributes | |
|
System::Mutexed< unsigned char * > | data |
| mutexed board data | |
| System::Mutexed< bool > | localInterrupt |
| mutexed information if local interrupt occures | |
| System::Mutexed< bool > | remoteInterrupt |
| mutexed information if local interrupt occures | |
| System::Mutexed< string > | localNick |
| mutexed local nick | |
| System::Mutexed< string > | remoteNick |
| mutexed remote nick | |
| System::Mutexed< bool > | newData |
| mutexed information if new data are pressent | |
| System::Mutexed< bool > | ready |
| mutexed information if remote player is ready | |
1.3.7