예제 #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
파일: ScreenManager.cs 프로젝트: Vinyl1/8-D
 public void Draw(SpriteBatch spriteBatch)
 {
     CurrentScreen.Draw(spriteBatch);
 }