Klamp't
0.9.0
|
Any function that should be run per sub-step of the simulation needs to be a WorldSimulationHook subclass and added to the WorldSimulation.hooks member. More...
#include <WorldSimulation.h>
Public Member Functions | |
virtual void | Step (Real dt) |
virtual bool | ReadState (File &f) |
virtual bool | WriteState (File &f) const |
Public Attributes | |
bool | autokill |
Any function that should be run per sub-step of the simulation needs to be a WorldSimulationHook subclass and added to the WorldSimulation.hooks member.
If the flag autokill = true, the hook is removed at the end of the Advance() call.