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