src/IGameObject.cpp

00001 #include "IGameObject.h"
00002 
00003 #include "Location.h"
00004 
00005 IGameObject::IGameObject(Uint32 serial, Uint16 type)
00006     :mSerial(serial),
00007     mType(type),
00008     mOwner(0),
00009     mName("Generic Object"),
00010     mPos(Location())
00011 {
00012     //ctor
00013 }
00014 
00015 IGameObject::~IGameObject()
00016 {
00017 
00018 }
00019 
00020 void IGameObject::setOwner(Uint32 newOwner){
00021     mOwner = newOwner;
00022 }
00023 
00024 void IGameObject::setName(std::string newName){
00025     mName = newName;
00026 }

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