Exemplo n.º 1
0
 public void registerTower(GameTowerInstance towerInstance)
 {
     lock (_towers) {
         _towers.Add(towerInstance.getObjectId(), towerInstance);
     }
 }
Exemplo n.º 2
0
 public void unregisterTower(GameTowerInstance towerInstance)
 {
     lock (_towers) {
         _towers.Remove(towerInstance.getObjectId());
     }
 }