Exemple #1
0
 public Debris(Item item, Vector2 debrisOrigin, Vector2 targetLocation)
     : this(-2, 1, debrisOrigin, targetLocation)
 {
     this.item = item;
     item.resetState();
 }
Exemple #2
0
 public Debris(Item item, Vector2 debrisOrigin)
     : this(-2, 1, debrisOrigin, new Vector2(Game1.player.GetBoundingBox().Center.X, Game1.player.GetBoundingBox().Center.Y))
 {
     this.item = item;
     item.resetState();
 }