Esempio n. 1
0
 protected CellGridState(CellGrid cellGrid)
 {
     _cellGrid = cellGrid;
 }
Esempio n. 2
0
 /// <summary>
 /// Method is called every turn. Allows player to interact with his units.
 /// </summary>
 public abstract void Play(CellGrid cellGrid);
Esempio n. 3
0
 public CellGridStateUnitSelected(CellGrid cellGrid, Unit unit) : base(cellGrid)
 {
     _unit         = unit;
     _pathsInRange = new List <Cell>();
     _unitsInRange = new List <Unit>();
 }