40 #ifndef _gravityfield_cpp
41 #define _gravityfield_cpp
43 #include "gravityfield.h"
45 #include "Physics/rigidproxy.h"
46 #include "Physics/physicsmanager.h"
50 #include "exception.h"
73 {
return Mezzanine::WO_AreaEffectGravityField; }
80 (*AddedIt)->GetProxies(Mezzanine::PT_Physics_RigidProxy,RigidProxies);
81 for(
ProxyIterator ProxIt = RigidProxies.begin() ; ProxIt != RigidProxies.end() ; ++ProxIt )
95 (*RemovedIt)->GetProxies(Mezzanine::PT_Physics_RigidProxy,RigidProxies);
96 for(
ProxyIterator ProxIt = RigidProxies.begin() ; ProxIt != RigidProxies.end() ; ++ProxIt )
109 { this->
Grav = Gravity; }
112 {
return this->
Grav; }
140 if( !PropertiesNode.
Empty() ) {
143 if( !GravityNode.
Empty() ) {
159 {
return "GravityField"; }
186 {
delete ToBeDestroyed; }