40 #ifndef _debrismanager_cpp
41 #define _debrismanager_cpp
50 #include "Physics/physicsmanager.h"
65 TargetManager(Target) { }
119 this->
Debriss.push_back( Ret );
131 this->
Debriss.push_back( Ret );
143 this->
Debriss.push_back( Ret );
155 this->
Debriss.push_back( Ret );
169 Debris* Ret = (*DebFactIt).second->CreateDebris( InstanceName, this->
ParentWorld, Params );
170 this->
Debriss.push_back( Ret );
182 this->
Debriss.push_back( Ret );
191 return this->
Debriss.at(Index);
198 if( (*DebIt)->GetName() == Name )
212 if( DebIt != this->
Debriss.end() )
216 (*DebFactIt).second->DestroyDebris( (*DebIt) );
228 if( DebIt != this->
Debriss.end() )
232 (*DebFactIt).second->DestroyDebris( (*DebIt) );
247 (*DebFactIt).second->DestroyDebris( (*DebIt) );
284 delete DebFactIt->second;
292 {
delete (*DebFactIt).second; }
338 {
return ManagerBase::MT_DebrisManager; }
341 {
return "DefaultDebrisManager"; }
353 {
return "DefaultDebrisManager"; }
362 {
delete ToBeDestroyed; }