Exemplo n.º 1
0
 public void removeBuilding(Building building) {
   buildings.remove(building);
   map.removeBuilding(building.getPosition(), building.getSightRange());
 }
Exemplo n.º 2
0
 public void addBuilding(Building building) {
   buildings.add(building);
   map.addBuilding(building.getPosition(), building.getSightRange());
 }