Exemplo n.º 1
0
 public void SelectUnit(Unit unit)
 {
     playGrid.LightDown();
     selected = unit;
     if (selected.HasMoveLeft())
     {
         playGrid.Djikstra(selected, EnemyUnits);
     }
     else
     {
         GetAttackable(selected);
     }
     playGrid.SelectTile(unit.GetCellPos());
 }