C# Class GameBoard, TicTacToe

Inheritance: System.Web.UI.Page
Mostra file Open project: SaladLab/TicTacToe Class Usage Examples

Public Properties

Property Type Description
GridClicked int>.Action
GridTemplate RectTransform

Public Methods

Method Description
GetMark ( int x, int y ) : int
SetHighlight ( int x, int y, float delay ) : void
SetMark ( int x, int y, int value, bool withAnimation = false ) : void

Private Methods

Method Description
BuildGrids ( ) : void
OnGridClick ( int x, int y ) : void
Start ( ) : void

Method Details

GetMark() public method

public GetMark ( int x, int y ) : int
x int
y int
return int

SetHighlight() public method

public SetHighlight ( int x, int y, float delay ) : void
x int
y int
delay float
return void

SetMark() public method

public SetMark ( int x, int y, int value, bool withAnimation = false ) : void
x int
y int
value int
withAnimation bool
return void

Property Details

GridClicked public_oe property

public Action GridClicked
return int>.Action

GridTemplate public_oe property

public RectTransform GridTemplate
return RectTransform