Exemplo n.º 1
0
        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;
        }
Exemplo n.º 2
0
        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;
        }
Exemplo n.º 3
0
 private void CreateCharacterCreation()
 {
     characterCreation = new CharacterCreation();
 }