Exemplo n.º 1
0
        /// <summary>
        /// LoadContent will be called once per game and is the place to load
        /// all of your content.
        /// </summary>
        protected override void LoadContent()
        {
            fontSmall = Content.Load<SpriteFont>("fontSmall");
            fontLarge = Content.Load<SpriteFont>("fontLarge");

            textureManager = new TextureManager();
            textureManager.LoadTextures(Content, graphics.GraphicsDevice);
            startMenu = new StartMenu(new Vector2(200, 600), textureManager, fontLarge);
            //gameManager = new GameManager(Window, textureManager, 1);
            spriteBatch = new SpriteBatch(GraphicsDevice);

            gameState = GameState.StartScreen;
        }