Exemple #1
0
        protected override void LoadContent()
        {
            spriteBatch = new SpriteBatch(GraphicsDevice);

            startScreen = new StartScreen(this);
            gameState = GAMESTATE.START;
            Background = Content.Load<Texture2D>("GamePlay/floormap");
            spriteFont = Content.Load<SpriteFont>("Font/Arial");

            BackgroundRec = new Rectangle(-2, -2, (int)Background.Width + 4, (int)Background.Height + 4);

            base.LoadContent();
        }
Exemple #2
0
        public void levelSelect()
        {
            levelSelectionScreen = new LevelSelectionScreen(this);
            gameState = GAMESTATE.SELECT;

            startScreen = null;
        }