C# Class PlacementGrid, World-of-Carbon

Inheritance: MonoBehaviour
Mostrar archivo Open project: kenfehling/World-of-Carbon Class Usage Examples

Public Methods

Method Description
Cells ( ) : PGridCell[],
Closed ( int r, int c ) : bool
PlacementGrid ( int width, int height, bool closedSpots ) : UnityEngine
RotateLeft ( ) : void
SetCell ( int r, int c, bool closed ) : void

Private Methods

Method Description
CellIndex ( int r, int c ) : int

Method Details

Cells() public method

public Cells ( ) : PGridCell[],
return PGridCell[],

Closed() public method

public Closed ( int r, int c ) : bool
r int
c int
return bool

PlacementGrid() public method

public PlacementGrid ( int width, int height, bool closedSpots ) : UnityEngine
width int
height int
closedSpots bool
return UnityEngine

RotateLeft() public method

public RotateLeft ( ) : void
return void

SetCell() public method

public SetCell ( int r, int c, bool closed ) : void
r int
c int
closed bool
return void