Esempio n. 1
0
 public DeadScreen(Game1 eng)
     : base(eng)
 {
     buttons.Add(respawn   = new StartScreenButton(eng.GraphicsDevice.Viewport.Width / 2 + 160, 300, "respawn", "respawnHover", "reload", eng));
     buttons.Add(startover = new StartScreenButton(eng.GraphicsDevice.Viewport.Width / 2 + 160, 350, "startover", "startoverHover", "startscreen", eng));
     buttons.Add(exit      = new StartScreenButton(eng.GraphicsDevice.Viewport.Width / 2 + 160, 400, "exitDead", "exitDeadHover", "exit", eng));
 }
Esempio n. 2
0
 public StartScreen(Game1 eng)
     : base(eng)
 {
     buttons.Add(start = new StartScreenButton(eng.GraphicsDevice.Viewport.Width / 2 + 160, 300, "start", "startHover", "play", eng));
     buttons.Add(continueB = new StartScreenButton(eng.GraphicsDevice.Viewport.Width / 2 + 160, 350, "continue", "continueHover", "continue", eng));
     buttons.Add(exit = new StartScreenButton(eng.GraphicsDevice.Viewport.Width / 2 + 160, 400, "exit", "exitHover", "exit", eng));
 }
Esempio n. 3
0
 public DeadScreen(Game1 eng)
     : base(eng)
 {
     buttons.Add(respawn = new StartScreenButton(eng.GraphicsDevice.Viewport.Width / 2 + 160, 300, "respawn", "respawnHover", "reload", eng));
     buttons.Add(startover = new StartScreenButton(eng.GraphicsDevice.Viewport.Width / 2 + 160, 350, "startover", "startoverHover", "startscreen", eng));
     buttons.Add(exit = new StartScreenButton(eng.GraphicsDevice.Viewport.Width / 2 + 160, 400, "exitDead", "exitDeadHover", "exit", eng));
 }
Esempio n. 4
0
 public StartScreen(Game1 eng) : base(eng)
 {
     buttons.Add(start     = new StartScreenButton(eng.GraphicsDevice.Viewport.Width / 2 + 160, 300, "start", "startHover", "play", eng));
     buttons.Add(continueB = new StartScreenButton(eng.GraphicsDevice.Viewport.Width / 2 + 160, 350, "continue", "continueHover", "continue", eng));
     buttons.Add(exit      = new StartScreenButton(eng.GraphicsDevice.Viewport.Width / 2 + 160, 400, "exit", "exitHover", "exit", eng));
 }