public RedMushroomEntity(Vector2 loc, EventSoundEffects sounds) : base(loc, sounds) { Sounds = sounds; Sound = EventSoundEffects.EventSounds.CollectPowerUp; InitialPos = loc; Sprite = new RedMushroom(loc); EntityCollision = new ItemCollision(this); State = new StandardItemState(this); State.NextState = new MovingItemState(this); }
public CoinEntity(Vector2 loc, EventSoundEffects sounds) : base(loc, sounds) { Sounds = sounds; Sound = EventSoundEffects.EventSounds.CollectCoin; InitialPos = loc; Sprite = new Coin(loc); EntityCollision = new ItemCollision(this); State = new StandardItemState(this); State.NextState = new StandardItemState(this); }