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