#include <game.h>
Inheritance diagram for Games::Game:


Public Member Functions | |
| Game () | |
| standard constructor, size of board is 16x16 | |
| virtual int | run () |
| executes game | |
Protected Member Functions | |
| virtual bool | playerOne ()=0 |
| player one move | |
| virtual bool | playerTwo ()=0 |
| player two move | |
| virtual void | interrupt () |
| interrupt cleaning - not used - remove | |
| virtual bool | isInterrupted ()=0 |
| check if interrupt occures | |
Protected Attributes | |
| bool | running |
| is game running | |
| Board * | board |
| board of this game | |
|
|
player one move
Implemented in Games::LocalGame, Games::MasterGame, and Games::SlaveGame. |
|
|
player two move
Implemented in Games::LocalGame, Games::MasterGame, and Games::SlaveGame. |
|
|
executes game
((interrupt) && (0 == (winner = board->winner())) && (this->isInterrupted())) Here is the call graph for this function: ![]() |
1.3.7