Exemple #1
0
 public AI(Game game, SpriteBatch screenSpriteBatch)
     : base(game, screenSpriteBatch)
 {
     Catapult = new Catapult.Catapult(game, screenSpriteBatch,
                                      "Textures/Catapults/Red/redIdle/redIdle",
                                      new Vector2(600, 332), SpriteEffects.FlipHorizontally, true);
 }
Exemple #2
0
 public Human(Game game, SpriteBatch screenSpriteBatch)
     : base(game, screenSpriteBatch)
 {
     Catapult = new Catapult.Catapult(game, screenSpriteBatch,
                                      "Textures/Catapults/Blue/blueIdle/blueIdle",
                                      catapultPosition, SpriteEffects.None, false);
 }