Beispiel #1
0
 public MultiplayerConnectMenu(GameManager gameManager)
 {
     this.gameManager = gameManager;
     viewport         = gameManager.game.GraphicsDevice.Viewport;
     controls         = new MenuControls(0, 3, gameManager);
     serverName       = "Not connected";
 }
Beispiel #2
0
 public MultiplayerStartServerMenu(GameManager gameManager)
 {
     this.gameManager = gameManager;
     viewport         = gameManager.game.GraphicsDevice.Viewport;
     controls         = new MenuControls(0, 3, gameManager);
     ServerName       = "Server Offline";
 }
 public MultiplayerMainMenu(GameManager gameManager)
 {
     this.gameManager = gameManager;
     // Adding the options interval and gamemanager.
     viewport = gameManager.game.GraphicsDevice.Viewport;
     controls = new MenuControls(0, 2, gameManager);
 }
Beispiel #4
0
 public MainMenu(GameManager gameManager)
 {
     this.gameManager = gameManager;
     viewport         = gameManager.game.GraphicsDevice.Viewport;
     controls         = new MenuControls(0, 2, gameManager);
     AudioManager.Instance.ClearSongs();
     AudioManager.Instance.EnqueueSongs("lounge");
 }
Beispiel #5
0
 public GameOverScreen(GameManager gameManager)
 {
     this.gameManager = gameManager;
     viewport         = gameManager.game.GraphicsDevice.Viewport;
     controls         = new MenuControls(0, 2, gameManager);
 }
Beispiel #6
0
 public SinglePlayer(GameManager gameManager)
 {
     this.gameManager = gameManager;
     controls         = new MenuControls(gameManager);
     viewport         = gameManager.game.GraphicsDevice.Viewport;
 }
Beispiel #7
0
 public PausedMenu(GameManager gameManager)
 {
     this.gameManager = gameManager;
     controls         = new MenuControls(gameManager);
     //viewport = this.gameManager.Engine.Dependencies.GraphicsDeviceManager.GraphicsDevice.Viewport;
 }
Beispiel #8
0
 public Credits(GameManager gameManager)
 {
     this.gameManager = gameManager;
     controls         = new MenuControls(gameManager);
 }