public Game1() { graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; graphics.PreferredBackBufferWidth = 800; graphics.PreferredBackBufferHeight = 600; IsMouseVisible = true; mainMenu = new MainMenu(Content, graphics.PreferredBackBufferWidth, graphics.PreferredBackBufferHeight); characterCreation = new CharacterCreation(); currentGameState = 0;//change back to 0 createdCombat = false; }
public Game1() { graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; graphics.PreferredBackBufferWidth = 800; graphics.PreferredBackBufferHeight = 600; //IsMouseVisible = true; mainMenu = new MainMenu(Content, graphics.PreferredBackBufferWidth, graphics.PreferredBackBufferHeight); characterCreation = new CharacterCreation(); currentGameState = 0;//change back to 0 createdCombat = pausedGame = false; message = new MessageBox(Content, graphics.PreferredBackBufferHeight, graphics.PreferredBackBufferWidth); messageQueue = new Queue<string>(); npc_menu = new NPCMenu(Content, graphics.PreferredBackBufferHeight, graphics.PreferredBackBufferWidth); keyState = Keyboard.GetState(); prevKeystate = keyState; }
private void CreateMainMenu() { mainMenu = new MainMenu(Content, graphics.PreferredBackBufferWidth, graphics.PreferredBackBufferHeight); }