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"); }
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> { }); }
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); }