diff options
Diffstat (limited to 'src/entity.h')
| -rw-r--r-- | src/entity.h | 5 |
1 files changed, 3 insertions, 2 deletions
| diff --git a/src/entity.h b/src/entity.h index d09dbe5..7f09f2d 100644 --- a/src/entity.h +++ b/src/entity.h | |||
| @@ -15,8 +15,8 @@ class Message { | |||
| 15 | walkLeft, | 15 | walkLeft, |
| 16 | walkRight, | 16 | walkRight, |
| 17 | stopWalking, | 17 | stopWalking, |
| 18 | stopMovingHorizontally, | 18 | setHorizontalVelocity, |
| 19 | stopMovingVertically, | 19 | setVerticalVelocity, |
| 20 | collision, | 20 | collision, |
| 21 | jump, | 21 | jump, |
| 22 | stopJump, | 22 | stopJump, |
| @@ -33,6 +33,7 @@ class Message { | |||
| 33 | Type type; | 33 | Type type; |
| 34 | Entity* collisionEntity; | 34 | Entity* collisionEntity; |
| 35 | int dropAxis; | 35 | int dropAxis; |
| 36 | double velocity; | ||
| 36 | }; | 37 | }; |
| 37 | 38 | ||
| 38 | class Entity { | 39 | class Entity { |
