public PowerUpQuestionBlock(Vector2 location) : base(location) { //TODO: sprite is now managed by game object, not sure if it should be managed by gameObject or state. sprite = SpriteMachine.Instance.CreateSprite(SpriteMachine.SpriteTag.QuestionBlock); itemState = new BrownMushroomState(this); }
public PowerUpInvisibleBlock(Vector2 location) : base(location) { sprite = SpriteMachine.Instance.CreateSprite(SpriteMachine.SpriteTag.InvisibleBlock); itemState = new BrownMushroomState(this); }