예제 #1
0
파일: Screen.cs 프로젝트: patrickzip/humble
 /// <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;
 }
예제 #2
0
 public LinkedScreens(HumbleGame game, bool visible)
     : base(game, visible)
 {
     _stack = new Stack<Screen>();
 }
예제 #3
0
 public GameScreen(HumbleGame game)
     : base(game)
 {
 }
예제 #4
0
 public SongSelectionScreen(HumbleGame game)
     : base(game)
 {
 }
예제 #5
0
 public AnimatedBackgroundScreen(HumbleGame game)
     : base(game)
 {
 }
예제 #6
0
 public MainMenuScreen(HumbleGame game) : base(game)
 {
 }