public override void Draw(GameTime gameTime) { if (TestGame.gameState == TestGame.GameState.Game) { if (levelState == LevelState.Active) { shader.Render(); } background.Draw(spriteBatch); DrawLevel(spriteBatch); DrawText(spriteBatch); if (levelState == LevelState.Active) { shader.Draw(spriteBatch); } } }