| Constructor and Description |
|---|
Jump() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(GameObject actor)
allows no double jumps, increases an objects y velocity according to its desired jump height
|
void |
exit(GameObject actor)
is called if the user ceases to touch the screen before reaching the maximum jump height
decreases the velocity to make the object fall down again
|
public void execute(GameObject actor)
public void exit(GameObject actor)