|
ctcat.h00001 #ifndef __CT_CATMANAGER__ 00002 #define __CT_CATMANAGER__ 00003 00004 #include "csphyzik/phyztype.h" 00005 00006 #define CAT_DEFAULT_EPSILON 0.01 00007 00016 class ctCatastropheManager 00017 { 00018 public: 00019 00020 ctCatastropheManager(){ cat_epsilon = CAT_DEFAULT_EPSILON; } 00021 00026 virtual real check_catastrophe() = 0; 00027 00032 virtual void handle_catastrophe() = 0; 00033 00038 virtual real get_epsilon(){ return cat_epsilon; } 00039 00040 protected: 00041 real cat_epsilon; 00042 00043 }; 00044 00045 #endif Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000 |