Esempio n. 1
0
 /// <summary>
 /// method is used to draw the gameplay elements of the screen
 /// (that is, everything but the terrain).
 /// </summary>
 private void DrawGameplay()
 {
     //render background to gameplay
     backgroundGraphics.Render(gameplayGraphics.Graphics);
     //draw the players tanks
     currentGame.DrawPlayers(gameplayGraphics.Graphics, displayPanel.Size);
     // draw any effects in play to gameplay
     currentGame.RenderEffects(gameplayGraphics.Graphics, displayPanel.Size);
 }