public Menu_Screen(Screen_Manager _manager, PenumbraComponent _penumbra, GameCamera _camera) : base("Menu")
        {
            camera   = _camera;
            manager  = _manager;
            penumbra = _penumbra;

            //new OKore_Parser();
            //sky = new Sky_Renderer(Assets.It.Get<Texture2D>("sky_1"), true);
            rect = Assets.It.Get <Texture2D>("gui-rect");
            font = Assets.It.Get <SpriteFont>("gfont");
        }
Exemple #2
0
        public Level_Select_Screen(Screen_Manager _manager, PenumbraComponent _penumbra, GameCamera _camera) : base("Level Select")
        {
            camera         = _camera;
            manager        = _manager;
            penumbra       = _penumbra;
            screen_manager = _manager;

            //new OKore_Parser();
            //sky = new Sky_Renderer(Assets.It.Get<Texture2D>("sky_1"), true);
            rect = Assets.It.Get <Texture2D>("gui-rect");
            font = Assets.It.Get <SpriteFont>("gfont");

            actions = new Named_Action_List(new Dictionary <string, Action> {
            });
        }
Exemple #3
0
        public Intro_Logos_Screen(Screen_Manager _manager, GameCamera _camera, PenumbraComponent _penumbra, ContentManager _content) : base("Logo")
        {
            _camera.Zoom           = 1;
            _penumbra.AmbientColor = Color.White;

            screen_manager = _manager;

            Logo_Position = new Vector2(
                LostIslandRanal.ScreenWidth / 2,
                LostIslandRanal.ScreenHeight / 2
                );

            SkyLogoY  += Logo_Size;
            MonoLogoY += Logo_Size;

            Background = Assets.It.Get <Texture2D>("Background");
        }
 public Level_1_Screen(Screen_Manager screen_manager, World _world, GameCamera _camera, PenumbraComponent _lighting, Particle_World _particle_world, Physics_Engine _physics_engine, Lua lua, GraphicsDevice device) : base(_world, _camera, _lighting, _particle_world, _physics_engine, lua, device, "Level 1")
 {
     //sky = new Sky_Renderer(Assets.It.Get<Texture2D>("sky_1"), false);
     world      = _world;
     pause_menu = new Pause_Menu(screen_manager, camera);
 }