jump method
Jumps at speed m/s at the next step, if it is on the ground then
(with useGravity).
Implementation
void jump(double speed) => pendingJump = speed;
Jumps at speed m/s at the next step, if it is on the ground then
(with useGravity).
void jump(double speed) => pendingJump = speed;