create one of these to handle dynamics (physics etc.) for a given Map More...
#include <map-dynamics.h>
Public Member Functions | |
virtual | ~MapDynamics (void) throw () |
virtual smart_ptr< Map > | getMap (void)=0 |
virtual smart_ptr< PhysicsWorld > | getPhysics (void)=0 |
virtual smart_ptr< PhysicsObject > | addInstance (IN smart_ptr< Instance > &instance)=0 |
virtual void | removeObject (IN smart_ptr< PhysicsObject > &obj)=0 |
virtual void | tickMap (IN float seconds)=0 |
virtual void | iterateInstancesInZone (IN Zone *zone, IN zone_obj_iteration_fn fn, IN void *context)=0 |
iterates over all instances within the given zone (static and dynamic objects). | |
Static Public Member Functions | |
static smart_ptr< MapDynamics > | create (IN smart_ptr< Map > &map, IN const Datahash *params) |
create one of these to handle dynamics (physics etc.) for a given Map
Definition at line 90 of file map-dynamics.h.
aesop::MapDynamics::~MapDynamics | ( | void | ) | throw () [virtual] |
Definition at line 42 of file map-dynamics.cpp.