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