Public Types | |
enum | TGameState { ESplashScreen, EMainScreen, EPausedScreen, EPlayScreen, EWaitOpponentScreen, EResultScreen, EControlScreen, ENotifierScreen, EConnectingScreen, EStartScreen, EWaitStartScreen, EWaitConnScreen, EErrorScreen, EAboutScreen, EGameScreensTotal } |
enum | TPlayMode { ESinglePlayer, ETwoPlayerShortlink } |
Public Member Functions | |
~CGameScreenManager () | |
void | SetGameState (TGameState aNewGameState) |
void | SetPlayMode (TPlayMode aPlayMode) |
TGameState | GameState () const |
TPlayMode | PlayMode () const |
CGameScreen * | GameScreen () |
TRoshambo & | Roshambo () |
CRpsGameEngine & | GameEngine () |
CBluetoothManager & | BluetoothManager () |
TGameData & | GameData () |
Static Public Member Functions | |
static CGameScreenManager * | NewL (CRpsGameEngine &aEngine) |
Definition at line 62 of file rpsGameScreens.h.
CGameScreenManager::~CGameScreenManager | ( | ) |
Destructor
Definition at line 90 of file rpsGameScreens.cpp.
CGameScreenManager * CGameScreenManager::NewL | ( | CRpsGameEngine & | aEngine | ) | [static] |
NewL. Two-phased constructor. Create a CGameScreenManager object. aObs a reference to the RPS's engine
Definition at line 48 of file rpsGameScreens.cpp.
void CGameScreenManager::SetGameState | ( | TGameState | aNewGameState | ) |
Set the game screen to display aNewGameState One of the game states
Definition at line 98 of file rpsGameScreens.cpp.
void CGameScreenManager::SetPlayMode | ( | TPlayMode | aPlayMode | ) |
Set the play mode one or two players aPlayMode One of the play modes
Definition at line 112 of file rpsGameScreens.h.
TGameState CGameScreenManager::GameState | ( | ) | const |
Query the RPS game's state
Definition at line 118 of file rpsGameScreens.h.
TPlayMode CGameScreenManager::PlayMode | ( | ) | const |
Query the RPS's play mode
Definition at line 124 of file rpsGameScreens.h.
CGameScreen* CGameScreenManager::GameScreen | ( | ) |
Definition at line 129 of file rpsGameScreens.h.
TRoshambo& CGameScreenManager::Roshambo | ( | ) |
Definition at line 134 of file rpsGameScreens.h.
CRpsGameEngine& CGameScreenManager::GameEngine | ( | ) |
Definition at line 139 of file rpsGameScreens.h.
CBluetoothManager& CGameScreenManager::BluetoothManager | ( | ) |
Definition at line 144 of file rpsGameScreens.h.
TGameData& CGameScreenManager::GameData | ( | ) |
Definition at line 149 of file rpsGameScreens.h.