public void PickupPowerUp(float increaseSpeed, float increaseMaxJumpHeight, float increaseMinJumpHeight) { player.maxJumpHeight += increaseMaxJumpHeight; player.minJumpHeight += increaseMinJumpHeight; player.speed += increaseSpeed; player.CalculateGravity(); }