C# Class Gameplay, ZeroG

Inheritance: MonoBehaviour
Show file Open project: GoogleJump/ZeroG Class Usage Examples

Public Properties

Property Type Description
boardNodesTextAsset TextAsset
detective1 Detective
gameLogic GameLogic
gameState State
instance Gameplay
message Message
mrX MrX
turnCount int

Public Methods

Method Description
Gameplay ( ) : System
TryMovePlayer ( GameObject node ) : void
centerCameraOnDetective ( int detectiveNumber ) : void
currentPlayerId ( ) : int
getCurrentPlayer ( ) : Player
goToNextTurn ( ) : void
goToState ( State state ) : void

Private Methods

Method Description
Awake ( ) : void
Start ( ) : void
Update ( ) : void
moveMrX ( GameObject node ) : void

Method Details

Gameplay() public method

public Gameplay ( ) : System
return System

TryMovePlayer() public method

public TryMovePlayer ( GameObject node ) : void
node GameObject
return void

centerCameraOnDetective() public method

public centerCameraOnDetective ( int detectiveNumber ) : void
detectiveNumber int
return void

currentPlayerId() public method

public currentPlayerId ( ) : int
return int

getCurrentPlayer() public method

public getCurrentPlayer ( ) : Player
return Player

goToNextTurn() public method

public goToNextTurn ( ) : void
return void

goToState() public method

public goToState ( State state ) : void
state State
return void

Property Details

boardNodesTextAsset public property

public TextAsset boardNodesTextAsset
return TextAsset

detective1 public property

public Detective detective1
return Detective

gameLogic public property

public GameLogic gameLogic
return GameLogic

gameState public property

public State gameState
return State

instance public static property

public static Gameplay instance
return Gameplay

message public property

public Message message
return Message

mrX public property

public MrX mrX
return MrX

turnCount public property

public int turnCount
return int