Exemplo n.º 1
0
 protected override void Draw(GameTime gameTime)
 {
     GraphicsDevice.Clear(Color.CornflowerBlue);
     Cls3DAxis.Draw(GraphicsDevice, camera.viewMatrix);
     terrain.Draw(GraphicsDevice, camera);
     tank.Draw(camera, GraphicsDevice);
     tankAI.Draw(camera, GraphicsDevice);
     projManager.Draw(camera, GraphicsDevice);
     base.Draw(gameTime);
 }
Exemplo n.º 2
0
 public void Draw(SpriteBatch spriteBatch, GameTime gameTime)
 {
     //Draw the player and any game menu
     _player.Draw(spriteBatch, gameTime);
 }