public MushroomOneUp(Game1 game, float x, float y) : base(new Vector2(x, y), new LVector2(new RectangleLimit(5, 10)), new LVector2(Limit <Vector2> .NONE)) { Bounds = new Rectangle(0, 0, 1, 1); Movement = new EntityMovement(game); Collision = new ItemCollision(); mushroomOneUpSprite = ItemSpriteFactory.Instance.CreateMushroomOneUpSprite(); }
public Star(Game1 game, float x, float y) : base(new Vector2(x, y), new LVector2(new RectangleLimit(5, 10)), new LVector2(Limit <Vector2> .NONE)) { this.game = game; Bounds = new Rectangle(0, 0, 1, 1); Movement = new EntityMovement(game); Collision = new ItemCollision(); starSprite = ItemSpriteFactory.Instance.CreateStarSprite(); }
public Coin(Game1 game, Vector2 position) : base(position, new LVector2(Limit <Vector2> .NONE), new LVector2(Limit <Vector2> .NONE)) { this.game = game; Bounds = new Rectangle(0, 0, 1, 1); Movement = new EntityMovement(game); Collision = new ItemCollision(); coinSprite = ItemSpriteFactory.Instance.CreateCoinFloatingSprite(); }