Exemplo n.º 1
0
 public override void Draw(GameTime gameTime)
 {
     ScreenManager.SpriteBatch.Begin(0, null, null, null, null, null, Camera.View);
     _agent.Draw();
     _pyramid.Draw();
     ScreenManager.SpriteBatch.End();
     _border.Draw();
     base.Draw(gameTime);
 }
Exemplo n.º 2
0
 public override void Draw(GameTime gameTime)
 {
     ScreenManager.SpriteBatch.Begin(0, null, null, null, null, null, Camera.View);
     _agent.Draw();
     _circles.Draw();
     _rectangles.Draw();
     _stars.Draw();
     _gears.Draw();
     ScreenManager.SpriteBatch.End();
     _border.Draw();
     base.Draw(gameTime);
 }
Exemplo n.º 3
0
 public override void Draw(GameTime gameTime)
 {
     ScreenManager.SpriteBatch.Begin(0, null, null, null, null, null, Camera.View);
     _agent.Draw();
     for (int i = 0; i < _spiders.Length; i++)
     {
         _spiders[i].Draw();
     }
     ScreenManager.SpriteBatch.End();
     _border.Draw();
     base.Draw(gameTime);
 }
Exemplo n.º 4
0
 public override void Draw(GameTime gameTime)
 {
     ScreenManager.SpriteBatch.Begin(0, null, null, null, null, null, Camera.View);
     for (int i = 0; i < 1; ++i)
     {
         ScreenManager.SpriteBatch.Draw(_obstacle.Texture, ConvertUnits.ToDisplayUnits(_obstacles[i].Position),
                                        null,
                                        Color.White, _obstacles[i].Rotation, _obstacle.Origin, 1f,
                                        SpriteEffects.None, 0f);
     }
     _agent.Draw();
     ScreenManager.SpriteBatch.End();
     _border.Draw();
     base.Draw(gameTime);
 }