public void GainPowerUp(PowerUp p) { maxVelocity = DEFAULT_MAX_VELOCITY + 30; powerUpTimer = POWER_UP_TIME; hasPowerUp = true; }