Пример #1
0
 /*
  * This resets all states in the game to their initial values.
  */
 public static void InitializeNewGame(bool force_reset = false)
 {
     if (!game_is_initialized_ || force_reset)
     {
         MapState.Reset();           // Need to unmark any finished battle nodes on the map.
         GameConstants.Reset();      // Game constants can be upgraded, so we need to reset.
         PlayerStats.Reset();        // Reset samples to 15 for each region, health to 100.
         game_is_initialized_ = true;
     }
 }