Example #1
0
 public void menuShow()
 {
     b2.Show();
     b3.Show();
     b4.Show();
     b5.Show();
     b6.Show();
     b7.Show();
     menu_text.Show();
     return;
 }
Example #2
0
        public override void _Process(float delta)
        {
            if (state == GameState.OutOfFuel)
            {
                restartText.Show();
                if (Input.IsActionPressed("restart"))
                {
                    RestartLevel();
                }

                if (Input.IsActionPressed("mute_audio"))
                {
                    ToggleAudioMute();
                }
            }

            if (state == GameState.Won)
            {
                landText.Show();
            }

            UpdateCamera();
        }
Example #3
0
 public void ShowError()
 {
     _error.Show();
 }