src/IMoveableObject.h

00001 #ifndef IMOVEABLEOBJECT_H
00002 #define IMOVEABLEOBJECT_H
00003 
00004 #include "IGameObject.h"
00005 
00009 class IMoveableObject : public IGameObject
00010 {
00011 public:
00015     IMoveableObject(Uint32 serial, Uint16 type);
00016 
00020     virtual ~IMoveableObject();
00021 
00029     void setDestination(Location * dest) {mDestPos = *dest;}
00030 
00038     void setDestination(const Location & dest) {mDestPos = dest;}
00039 
00046     void move();
00047 
00048 private:
00049 
00050     Location mDestPos;  
00051 };
00052 
00053 
00054 
00055 #endif // IMOVEABLEOBJECT_H

Generated on Mon Dec 3 04:30:13 2007 for lo-testserver by  doxygen 1.3.9.1