C# Class GridLogic, hexciter

Grid class responsible for calculating positions and lines creation.
Inheritance: MonoBehaviour
Show file Open project: pR0Ps/hexciter Class Usage Examples

Public Properties

Property Type Description
ScoreCurve UnityEngine.AnimationCurve
gameoverDialog GameoverDialog,
scoreTextMesh UnityEngine.TextMesh

Public Methods

Method Description
Awake ( ) : void
Destroy ( GridPlace, start ) : void
DoMove ( ) : void
Flood ( GridPlace, start ) : void
GameOver ( ) : void
KillCallback ( GridPlace, start, Color color ) : Action,System
Start ( ) : void
Update ( ) : void
UpdateUI ( bool lose ) : void

Private Methods

Method Description
FailInstructions ( ) : IEnumerator
GridBusy ( ) : bool
NextLevel ( ) : IEnumerator
ShowWaitTap ( TutorialText, tText, string s1, string s2 ) : IEnumerator
StartGame ( ) : IEnumerator
Tutorial ( ) : IEnumerator
WaitForCenterSelect ( ) : IEnumerator
WaitForMove ( ) : IEnumerator
WaitForMoveCenter ( ) : IEnumerator
WaitForSwap ( ) : IEnumerator
WaitForTap ( ) : IEnumerator

Method Details

Awake() public method

public Awake ( ) : void
return void

Destroy() public method

public Destroy ( GridPlace, start ) : void
start GridPlace,
return void

DoMove() public method

public DoMove ( ) : void
return void

Flood() public method

public Flood ( GridPlace, start ) : void
start GridPlace,
return void

GameOver() public method

public GameOver ( ) : void
return void

KillCallback() public method

public KillCallback ( GridPlace, start, Color color ) : Action,System
start GridPlace,
color Color
return Action,System

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

UpdateUI() public method

public UpdateUI ( bool lose ) : void
lose bool
return void

Property Details

ScoreCurve public property

public AnimationCurve,UnityEngine ScoreCurve
return UnityEngine.AnimationCurve

gameoverDialog public property

public GameoverDialog, gameoverDialog
return GameoverDialog,

scoreTextMesh public property

public TextMesh,UnityEngine scoreTextMesh
return UnityEngine.TextMesh