コード例 #1
0
 /// <summary>
 /// This is called when the game should draw itself.
 /// </summary>
 /// <param name="gameTime">Provides a snapshot of timing values.</param>
 public void DrawGame()
 {
     mHero.Draw();
     mEnemy.Draw();
 }
コード例 #2
0
 /// <summary>
 /// This is called when the game should draw itself.
 /// </summary>
 /// <param name="gameTime">Provides a snapshot of timing values.</param>
 public void DrawGame()
 {
     mHero.Draw();
     mEnemy.Draw();
     FontSupport.PrintStatus("Caught=" + mNumCaught.ToString(), null);
 }