Ejemplo n.º 1
0
    public void StartNewGame()
    {
        CurrentGame = GameProperties.StartNewMicrobeGame();

        CreatePatchManagerIfNeeded();

        patchManager.ApplyChangedPatchSettingsIfNeeded(GameWorld.Map.CurrentPatch);
        HUD.UpdatePatchInfo(GameWorld.Map.CurrentPatch.Name);
        UpdateBackground();

        SpawnPlayer();
        Camera.ResetHeight();
    }
Ejemplo n.º 2
0
    private void UpdatePatchSettings()
    {
        patchManager.ApplyChangedPatchSettingsIfNeeded(GameWorld.Map.CurrentPatch);

        HUD.UpdatePatchInfo(GameWorld.Map.CurrentPatch.Name);
        HUD.UpdateEnvironmentalBars(GameWorld.Map.CurrentPatch.Biome);

        UpdateBackground();
    }
Ejemplo n.º 3
0
    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();
    }