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 }