changeset 170 | fe74105c07ea |
parent 169 | 71c5b12a2b3f |
child 180 | bfe1077edab3 |
--- a/src/proto2/Physics.hh Mon Dec 01 23:39:37 2008 +0000 +++ b/src/proto2/Physics.hh Mon Dec 01 23:43:05 2008 +0000 @@ -121,9 +121,10 @@ void setFacing(bool facingRight); /** - * Handle ground-jumping + * Makes the player jump in the air. + * @param direction -1: jump left, 0: jump up, 1: jump right */ - void jump(); + void jump(int direction); /** * Handle ground-bounce