public void StartNewGame() { CurrentGame = GameProperties.StartNewMicrobeGame(); CreatePatchManagerIfNeeded(); patchManager.ApplyChangedPatchSettingsIfNeeded(GameWorld.Map.CurrentPatch); HUD.UpdatePatchInfo(GameWorld.Map.CurrentPatch.Name); UpdateBackground(); SpawnPlayer(); Camera.ResetHeight(); }
private void UpdatePatchSettings() { patchManager.ApplyChangedPatchSettingsIfNeeded(GameWorld.Map.CurrentPatch); HUD.UpdatePatchInfo(GameWorld.Map.CurrentPatch.Name); HUD.UpdateEnvironmentalBars(GameWorld.Map.CurrentPatch.Biome); UpdateBackground(); }
private void UpdatePatchSettings(bool isLoading) { patchManager.ApplyChangedPatchSettingsIfNeeded(GameWorld.Map.CurrentPatch, !isLoading); HUD.UpdatePatchInfo(TranslationServer.Translate(GameWorld.Map.CurrentPatch.Name)); HUD.UpdateEnvironmentalBars(GameWorld.Map.CurrentPatch.Biome); UpdateBackground(); }