Exemple #1
0
 public void makeDirtTrail(Vector2 position, Vector2 direction)
 {
     dirtTrail = new DirtTrail(game, position, direction);
     dirtTrail.AutoInitialize(game.GraphicsDevice, game.Content, TankGame.spriteBatch);
     dirtTrail.UpdateOrder = 100;
     dirtTrail.DrawOrder   = 100;
     dirtTrail.Visible     = true;
 }
Exemple #2
0
 public void makeDirtTrail(Vector2 position, Vector2 direction)
 {
     dirtTrail = new DirtTrail(game, position, direction);
     dirtTrail.AutoInitialize(game.GraphicsDevice, game.Content, TankGame.spriteBatch);
     dirtTrail.UpdateOrder = 100;
     dirtTrail.DrawOrder = 100;
     dirtTrail.Visible = true;
 }