Exemplo n.º 1
0
 public FollowingSprite(Texture2D character, int x, int y)
 {
     animateSprite  = new AnimateSprite(character, 4, 4, true);
     this.x         = x;
     this.y         = y;
     movementBuffer = new List <int>();
 }
Exemplo n.º 2
0
 public MainSprite(Texture2D character, FollowingSprite followingSprite, int x, int y)
 {
     boundingBox          = new BoundingBox(new Vector2(x, y), 45, 40, "MainSprite");
     animateSprite        = new AnimateSprite(character, 4, 4, true);
     this.followingSprite = followingSprite;
     this.x = x;
     this.y = y;
     locked = false;
 }