public override void Bump() { SolidBlock solidBlock = new SolidBlock(Location()); GameManager.Instance.Replace(this, solidBlock); solidBlock.Bump(); solidBlock.EndBump(); }
public override void Bump() { base.Bump(); itemState.ReleaseItem(); SolidBlock solidBlock = new SolidBlock(Location()); bumpState.Bump(); solidBlock.Bump(); GameManager.Instance.Replace(this, solidBlock); }