D:/simple_rts/src/MovableObject.cpp

Go to the documentation of this file.
00001 #include "MovableObject.h"
00002 
00003 
00004 namespace ASR
00005 {
00006         // ----------------------------------------------------------------------------
00007         MovableObject::MovableObject ( SceneNode* parentNode )
00008         {
00009                 mBaseNode = parentNode->createChildSceneNode ( );
00010         }
00011 
00012 
00013         // ----------------------------------------------------------------------------
00014         MovableObject::~MovableObject ()
00015         {
00016                 mBaseNode->getParentSceneNode ()->removeAndDestroyChild ( mBaseNode->getName() );
00017         }
00018 }

Generated on Sun Jun 25 19:23:43 2006 for Valors End by  doxygen 1.4.7