summary refs log tree commit diff stats
path: root/src/entity.h
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2015-03-19 16:15:47 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2015-03-19 16:15:47 -0400
commit4b4125e234cb727c70822e0a1fce0688c357741e (patch)
tree5b446ebe6f0454304d4202368bd18fba3f629d3d /src/entity.h
parent281bdf956a646fd8c9944e9a44f867c984792216 (diff)
downloadtherapy-4b4125e234cb727c70822e0a1fce0688c357741e.tar.gz
therapy-4b4125e234cb727c70822e0a1fce0688c357741e.tar.bz2
therapy-4b4125e234cb727c70822e0a1fce0688c357741e.zip
Implemented a simple AI
Diffstat (limited to 'src/entity.h')
-rw-r--r--src/entity.h5
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
38class Entity { 39class Entity {