C# Class PillarBehavior, GGJ-2016

Inheritance: MonoBehaviour
Show file Open project: BretHudson/GGJ-2016 Class Usage Examples

Public Properties

Property Type Description
ArrowPrefabs GameObject[]
DanceIcon GameObject
Explorer IconInfo,
PillarID int
Tribal IconInfo,
sinkSpeed float

Public Methods

Method Description
CheckInput ( List inputQueue ) : bool
GetInputString ( ) : string
Init ( int id ) : void
Reset ( ) : void
ResetInputs ( ) : void
Start ( ) : void
Update ( ) : void
_ChangeState ( MessageChangeState, msg ) : void

Private Methods

Method Description
CreateOffsets ( ) : void
CreateRandomInputString ( ) : List
HighlightArrows ( int n, int offset ) : void
PlaceArrows ( List inputString, bool top, int offset ) : void
PlaceIcon ( GameObject icon, bool top ) : void

Method Details

CheckInput() public method

public CheckInput ( List inputQueue ) : bool
inputQueue List
return bool

GetInputString() public method

public GetInputString ( ) : string
return string

Init() public method

public Init ( int id ) : void
id int
return void

Reset() public method

public Reset ( ) : void
return void

ResetInputs() public static method

public static ResetInputs ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

_ChangeState() public method

public _ChangeState ( MessageChangeState, msg ) : void
msg MessageChangeState,
return void

Property Details

ArrowPrefabs public property

public GameObject[] ArrowPrefabs
return GameObject[]

DanceIcon public property

public GameObject DanceIcon
return GameObject

Explorer public property

public IconInfo, Explorer
return IconInfo,

PillarID public property

public int PillarID
return int

Tribal public property

public IconInfo, Tribal
return IconInfo,

sinkSpeed public property

public float sinkSpeed
return float