Ejemplo n.º 1
0
 public static void PortalDestroyed()
 {
     portalCount--;
     if (portalCount < 1)
     {
         if (enemyCount > 0)
         {
             UIEventHandler.AllPortalsDestroyed();
         }
         else
         {
             EndGame(true);
         }
     }
     else
     {
         UIEventHandler.PortalDestroyed();
     }
 }