Made lua run under MSWin with Dev-Cpp 4.9.9.2
[sdlbotor.git] / Robot.h
blob27b26e650dd436d455134b1fd4ea899256f71486
1 #ifndef ROBOT_H
2 #define ROBOT_H
4 #include "LivingMapObject.h"
5 #include "DAnimation.h"
7 namespace botor
10 class Robot : public LivingMapObject
13 anim_t ani_walking;
14 DAnimation *ani_player;
16 static Tileset ROBOTS_TILESET;
18 public:
20 static const float ROBOT_SPEED = 0.03f;
22 Robot( Uint8 X = 0, Uint8 Y = 0 );
24 private:
26 void MakeNewDir();
28 protected:
30 void StartMovement();
32 float SPEED();
34 bool isWalkable( Uint8 X, Uint8 Y );
36 public:
38 // void Update();
40 void OnTile( Tile *t );
46 #endif