public Pause_Menu(Screen_Manager screen_manager, GameCamera _camera)
        {
            camera = _camera;

            rect = Assets.It.Get <Texture2D>("gui-rect");
            font = Assets.It.Get <SpriteFont>("gfont");

            actions = new Named_Action_List(new Dictionary <string, Action> {
                { "Resume", () => {
                      LostIslandRanal.Request_Resume();
                      showing = false;
                  } },
                { "Settings", () => {
                  } },
                { "Level Select", () =>
                  {
                      showing = false;
                      screen_manager.Goto_Screen("Level Select", false);
                  } },
                { "Exit", () => {
                      //LostIslandRanal.Request_Resume();
                      showing = false;
                      screen_manager.Goto_Screen("Menu", true);
                  } }
            });
        }
Exemplo n.º 2
0
 public Player_Controller_System(GameCamera _camera, Particle_World particle_world, Screen_Manager screen) : base(Types.Body, Types.Player, Types.Physics)
 {
     this.screen_manager = screen;
     this.camera         = _camera;
     this.particle_world = particle_world;
 }