コード例 #1
0
ファイル: MicrobeStage.cs プロジェクト: GlassDev02/Thrive
    public void StartNewGame()
    {
        CurrentGame = GameProperties.StartNewMicrobeGame();

        CreatePatchManagerIfNeeded();

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

        SpawnPlayer();
        Camera.ResetHeight();
    }
コード例 #2
0
ファイル: MicrobeStage.cs プロジェクト: ichabodphage/Thrive
    private void UpdatePatchSettings()
    {
        patchManager.ApplyChangedPatchSettingsIfNeeded(GameWorld.Map.CurrentPatch);

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

        UpdateBackground();
    }
コード例 #3
0
ファイル: MicrobeStage.cs プロジェクト: luminarium/Thrive
    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();
    }