src/IMoveableObject.cpp

00001 #include "IMoveableObject.h"
00002 
00003 
00004 IMoveableObject::IMoveableObject(Uint32 serial, Uint16 type)
00005     :IGameObject(serial, type),
00006     mDestPos(Location())
00007 {
00008     //ctor
00009 }
00010 
00011 IMoveableObject::~IMoveableObject()
00012 {
00013     //dtor
00014 }
00015 
00016 void IMoveableObject::move(){
00017     if (mDestPos != getPosition())
00018         setPosition(mDestPos); // Teletransport ! not for production use :D
00019 }
00020 
00021 

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