/// <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; }
public LinkedScreens(HumbleGame game, bool visible) : base(game, visible) { _stack = new Stack<Screen>(); }
public GameScreen(HumbleGame game) : base(game) { }
public SongSelectionScreen(HumbleGame game) : base(game) { }
public AnimatedBackgroundScreen(HumbleGame game) : base(game) { }
public MainMenuScreen(HumbleGame game) : base(game) { }