public void GetProduced(bool marioFacingLeft) { beingProduced = true; Physics.MaxPosition = new Vector2(PhysicsUtilites.XMaxPosition, (int)Location.Y - Sprite.getTextureHeight() * 3); Physics.YVelocity = PhysicsUtilites.ItemCoinProductionVelocity; isBeingDrawn = true; }
public void GetProduced(bool marioFacingLeft) { ItemBlockSoundBoard.Instance.PlayPowerUpAppear(); goLeftAfterProduced = marioFacingLeft; beingProduced = true; Physics.MaxPosition = new Vector2(PhysicsUtilites.XMaxPosition, (int)Location.Y - Sprite.getTextureHeight()); Physics.YVelocity = PhysicsUtilites.ItemProductionVelocity; isBeingDrawn = true; }