예제 #1
0
 private void sendToVars()
 {
     statusScreen.sendToVars();
     if (Vars.planetType.isColonized())
     {
         market.buyMarket.sendToVars();
     }
 }
예제 #2
0
 public void landOnPlanet(PlanetType planetType)
 {
     gamePaused = true;
     shieldsPool.clearPool();
     Vars.enemyShipsPool.Clear();
     UserInterface.showInterface = false;
     statusScreen.sendToVars();
     Vars.planetType = planetType;
     ExplosionsManager.clear();
     LootDropper.clearContainers();
     SceneManager.LoadScene("PlanetSurface");
 }