public ClientBasket() : base("panier", new Vector2(0, 260), new Rectangle(0, 0, 256, 256), Vector2.One) { Items = new List<ItemBase>(); Rectangle dim = new Rectangle((int)Location.X + 50, (int)Location.Y + 100, DstRect.Width - 100, DstRect.Height - 100); hitbox = new SuperCaissiere.Engine.Physics.Hitbox(dim); }
public ClientBasket() : base("panier", new Vector2(0, 260), new Rectangle(0, 0, 256, 256), Vector2.One) { Items = new List <ItemBase>(); Rectangle dim = new Rectangle((int)Location.X + 50, (int)Location.Y + 100, DstRect.Width - 100, DstRect.Height - 100); hitbox = new SuperCaissiere.Engine.Physics.Hitbox(dim); }