#include <ctcat.h>
Public Methods | |
ctCatastropheManager () | |
virtual real | check_catastrophe ()=0 |
check for a catastrophe and return a real indicating the "magnitude" of the worst ( bigger number ) catastrophe. More... | |
virtual void | handle_catastrophe ()=0 |
take care of the catastrophe so that when integrated forward that catasrophe will not exist. | |
virtual real | get_epsilon () |
Return epsilon value such that anything less than epsilon is treated as 0 for the catastrophe value ( and thus there is no catastrophe ). | |
Protected Attributes | |
real | cat_epsilon |
i.e. collision detection etc... Register it with ctWorld and check_cata- will be called each frame and handle_cat will be called if check_cata- return > 0.
|
check for a catastrophe and return a real indicating the "magnitude" of the worst ( bigger number ) catastrophe. Return 0 for no catastrophe |