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