TowerVR
1.0
|
Public Member Functions | |
virtual void | notifyIsReady () |
virtual void | tryStartGame () |
virtual void | selectTowerPiece (TowerPieceDifficulty difficulty) |
virtual void | placeTowerPiece (float positionX, float positionZ, float rotationDegreesY) |
Public Attributes | |
TowerGameManager | parent |
Protected Member Functions | |
virtual void | Awake () |
virtual void | OnDestroy () |
virtual void | onEvent (byte eventCode, object content, int senderID) |
virtual void | handleGameStateChangedEvent (int gameState) |
virtual void | handleTurnStateChangedEvent (int turnState) |
virtual void | handleTowerStateChangedEvent (int towerState) |
virtual void | handleNextPlayerEvent (int nextPlayerID) |
virtual void | handleScoreChangedEvent (int playerID, Score score) |
virtual void | handlePlayerLostEvent (int playerID) |
virtual void | handlePlayerWonEvent (int playerID) |
Static Protected Member Functions | |
static void | LogMalformedEventContent (string eventName, int senderID) |
An ITowerGameManager that represents a remote instance.
Do not use this class directly in the game logic.
|
protectedvirtual |
Reimplemented in TowerVR.MasterTowerGameManagerImpl.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
staticprotected |
|
virtual |
Sends an event to the master client implementation.
Implements TowerVR.ITowerGameManager.
Reimplemented in TowerVR.MasterTowerGameManagerImpl.
|
protectedvirtual |
|
protectedvirtual |
Receives events from the master client and alerts the observer delegates (i.e. TowerGameBehaviours).
Reimplemented in TowerVR.MasterTowerGameManagerImpl.
|
virtual |
Sends an event to the master client implementation.
Implements TowerVR.ITowerGameManager.
Reimplemented in TowerVR.MasterTowerGameManagerImpl.
|
virtual |
Sends an event to the master client implementation.
Implements TowerVR.ITowerGameManager.
Reimplemented in TowerVR.MasterTowerGameManagerImpl.
|
virtual |
Sends an event to the master client implementation.
Implements TowerVR.ITowerGameManager.
Reimplemented in TowerVR.MasterTowerGameManagerImpl.
TowerGameManager TowerVR.TowerGameManagerImpl.parent |