Example #1
0
 public void removeUnit (Unit unit, int x, int y)
 {
     Tile tile = getTile(x, y);
     tile.removeUnit(unit);
 }
Example #2
0
 public void removeUnit (Unit unit)
 {
     units.Remove(unit);
 }
Example #3
0
 public void addUnit (Unit unit, int x, int y)
 {
     Tile tile = getTile(x, y);
     tile.addUnit(unit);
 }
Example #4
0
 public void addUnit (Unit unit)
 {
     units.AddLast(unit);
 }