public NullItem() { IsCollidable = false; DestinationRectangle = new Rectangle(); Location = new Vector2(); Physics = new ItemPhysics(this); ShouldUpdate = false; BeRemoved = false; }
public Coin(Vector2 location) { Location = location; Physics = new ItemPhysics(this); Sprite = ItemSpriteFactory.Instance.CreateCoin(location); IsCollidable = true; beingProduced = false; isBeingDrawn = true; BeRemoved = false; }
public Mushroom(Vector2 location) { Location = location; Physics = new ItemPhysics(this); Sprite = ItemSpriteFactory.Instance.CreateMushroom(location); IsCollidable = true; beingProduced = false; isBeingDrawn = true; BeRemoved = false; productionTimer = 0; }