public GameScreen(Hyades game, ScreenManager manager) : base(null, manager) { this.game = game; //title_screen = new Title(this, manager); menu_screen = new MainMenu(this, manager); }
public GameScreen(Hyades game, ScreenManager manager) : base(null, manager) { this.game = game; //title_screen = new Title(this, manager); menu_screen = new MainMenu(this, manager); }
public OptionsMenu(Screen parent, ScreenManager manager) : base(parent, manager) { Hyades game = Hyades.GetInstance(); volume_slider = new Slider(this, 1, default_volume, Application.GetInstance().SetVolume); brightness_slider = new Slider(this, 2, default_brightness, Application.GetInstance().SetBrightness); debug_switch = new Switch(this, 3, default_debug, game.SetDebugView); options = new ScreenOption[] { new ScreenOption("Reset to Default", "Reset the volume and brightness to default values", null), new ScreenOption("Volume", "Change the game music and sound effect volume", null), new ScreenOption("Brightness", "Change the game brightness", null), new ScreenOption("Debug", "Show debug view", null), new ScreenOption("Back", "Go back to the previous menu", parent) }; title = "Options"; }