Пример #1
0
 /// <summary>
 /// Draws the different phases.
 /// </summary>
 /// <param name="gameTime">Information about the game time.</param>
 /// <param name="sb">Spritebatch, needed to draw.</param>
 public static void Draw(GameTime gameTime, SpriteBatch sb)
 {
     _game.Draw(gameTime, sb);
     sb.Begin();
     _hud.Draw(gameTime, sb);
     sb.End();
 }
Пример #2
0
 public void Draw(SpriteBatch spriteBatch)
 {
     CurrentScreen.Draw(spriteBatch);
 }