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(); }
public void levelSelect() { levelSelectionScreen = new LevelSelectionScreen(this); gameState = GAMESTATE.SELECT; startScreen = null; }