Exemplo n.º 1
0
        public override void Load()
        {
            Title          = new StaticText(Content, "gameover");
            Title.Position = new Vector2(150f, 75f);

            Scene.AudioHandler.PlayBGM("Audio/game_over", false);

            menu          = new Menu(Font);
            menu.Position = new Vector2(175f, 150f);
            menu.AddOption(new ResetCommand(scene), "Restart");
            menu.AddOption(new QuitCommand(scene), "Quit");

            Controllers = ControllerSetup.LoadMenuControllers(menu, scene);
        }
Exemplo n.º 2
0
        public override void Load()
        {
            Title          = new StaticText(Content, "SMW_title");
            Title.Position = new Vector2(112.5f, 10f);

            Scene.AudioHandler.PlayBGM("Audio/title_bgm", true);

            menu          = new Menu(Font);
            menu.Position = new Vector2(200f, 150f);
            menu.AddOption(new StartSingleCommand(scene), "1 Player");
            menu.AddOption(new StartMultiCommand(scene), "2 Player");

            Controllers = ControllerSetup.LoadMenuControllers(menu, scene);
        }