Beispiel #1
0
 public void Unapply(SimGameState simGame)
 {
     foreach (var system in simGame.StarSystemDictionary.Keys)
     {
         MapModesUI.ScaleSystem(system, 0.5f);
     }
 }
Beispiel #2
0
        public void Apply(SimGameState simGame)
        {
            foreach (var system in simGame.StarSystemDictionary.Keys)
            {
                var starSystem = simGame.StarSystemDictionary[system];
                var difficulty = starSystem.Def.GetDifficulty(simGame.SimGameMode);

                MapModesUI.ScaleSystem(system, difficulty / 5f);
            }
        }