Example #1
0
 public void Destroy()
 {
     if (occupiedPlatform != null)
     {
         occupiedPlatform.UnbuildTower(occupiedNode);
     }
 }
Example #2
0
        public void RemoveFromGame()
        {
            IndicatorControl.TowerRemoved(this);

            destroyed = true;
            if (occupiedPlatform != null)
            {
                occupiedPlatform.UnbuildTower(occupiedNode);
            }

            base.Destroyed(PlayAnimDestroyed());
        }