![[]](/images/special/trans.gif)
LibN2L-4 Library Code ReferenceClassesCompounds Files Members Method Index Full Reference cGuiSEFollowB3Curve.hGo to the documentation of this file.00001 #ifndef _n2l4_cGuiSEFollowB3Curve_h 00002 #define _n2l4_cGuiSEFollowB3Curve_h 00003 00004 #include "n2l/n2l.h" 00005 #include "n2l/geometry.h" 00006 00007 #include "gui/cGuiSEInt.h" 00008 00009 /******************************************************************************/ 00010 namespace n2l 00011 { 00012 class cGuiElement; 00013 class cDynVar; 00014 00015 class cGuiSEFollowB3Curve : public cGuiSEInt 00016 { 00017 public: 00018 cGuiSEFollowB3Curve( const cDynVar &iDef ); 00019 cGuiSEFollowB3Curve( const tString &iEffectName, 00020 const tVector3f &iStart, const tVector3f &iC1, 00021 const tVector3f &iEnd, const tUint &iLife ); 00022 00023 virtual ~cGuiSEFollowB3Curve(); 00024 00025 void load( const cDynVar &iDef ); 00026 00027 virtual const tBool actOn( cGuiElement *const i_ioElement, 00028 const tUint iTimePassed ); 00029 00030 virtual const cAutoPtr<cGuiSEInt> clone() const; 00031 00032 protected: 00033 virtual void cloneInto( 00034 const cAutoPtr<cGuiSEFollowB3Curve> &ioElement ) const; 00035 00036 private: 00037 tBezier33f mCurve; 00038 tUint mLife; 00039 tUint mAge; 00040 00041 cGuiSEFollowB3Curve(); 00042 00043 void init(); 00044 }; 00045 00046 } 00047 #endif |