private static Color _colorBg = new Color(136, 136, 136); //#888888 /// <summary> /// This is called when the game should draw itself. /// </summary> /// <param name="gameTime">Provides a snapshot of timing values.</param> protected override void Draw(GameTime gameTime) { GraphicsDevice.Clear(_colorBg); // TODO: Add your drawing code here switch (Global.RunState) { case RunState.Init: GameListLoader.Draw(spriteBatch, gameTime); break; case RunState.Run: GameLoader.Draw(spriteBatch, gameTime); break; default: break; } base.Draw(gameTime); }