C# Class Gameplay, ZeroG

Inheritance: MonoBehaviour
Mostrar archivo 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_oe property

public TextAsset boardNodesTextAsset
return TextAsset

detective1 public_oe property

public Detective detective1
return Detective

gameLogic public_oe property

public GameLogic gameLogic
return GameLogic

gameState public_oe property

public State gameState
return State

instance public_oe static_oe property

public static Gameplay instance
return Gameplay

message public_oe property

public Message message
return Message

mrX public_oe property

public MrX mrX
return MrX

turnCount public_oe property

public int turnCount
return int