Ejemplo n.º 1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="game">The parent game</param>
 /// <param name="visible">Whether the screen is visible or not</param>
 public Screen(HumbleGame game, bool visible = true)
 {
     this.Game = game;
     this.SpriteBatch = new SpriteBatch(game.GraphicsDevice);
     this.Visible = visible;
     this.BlocksUpdate = true;
     this.BlocksInput = true;
     this.BlocksDraw = true;
     this.eventManager = new EventManager();
     Content = game.Content;
 }
Ejemplo n.º 2
0
 public LinkedScreens(HumbleGame game, bool visible)
     : base(game, visible)
 {
     _stack = new Stack<Screen>();
 }
Ejemplo n.º 3
0
 public GameScreen(HumbleGame game)
     : base(game)
 {
 }
Ejemplo n.º 4
0
 public SongSelectionScreen(HumbleGame game)
     : base(game)
 {
 }
Ejemplo n.º 5
0
 public AnimatedBackgroundScreen(HumbleGame game)
     : base(game)
 {
 }
Ejemplo n.º 6
0
 public MainMenuScreen(HumbleGame game) : base(game)
 {
 }