00001 #ifndef _move_hh_ 00002 #define _move_hh_ 00003 00004 #include "position.hh" 00005 00006 namespace anoid { 00007 namespace plugin { 00008 00013 class Move: public Position { 00014 protected: 00015 simple::Vector movement; 00016 simple::Vector oldPosition; 00017 public: 00018 virtual simple::Vector getMovement(); 00019 simple::Vector getOldPosition() { return oldPosition; } 00020 void setPosition(simple::Vector &p); 00021 void setMovement(simple::Vector &m); 00022 virtual void init(config::Configuration &c); 00023 virtual void update(); 00024 }; 00025 00026 }; 00027 }; 00028 00029 #endif