Changeset 3782 in orxonox.OLD for orxonox/branches/textEngine/src/animation.h
- Timestamp:
- Apr 12, 2005, 9:36:12 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/textEngine/src/animation.h
r3781 r3782 23 23 #define _ANIMATION_H 24 24 25 #include "base_object.h" 25 26 // FORWARD DEFINITION 27 template<class T> class tList; 26 28 27 29 enum ANIM_FUNCTION {ANIM_LINEAR }; 28 30 31 class Anim 32 { 33 protected: 34 Anim(); 35 36 static tList<Anim>* animatorList; 37 }; 38 39 29 40 //! A Class to handle some animation for single floated values. 30 template<class T> class Animation : public BaseObject41 template<class T> class Animation : public Anim 31 42 { 32 43 public: … … 56 67 Animation<T>::Animation () 57 68 { 58 this->setClassName ("Animation");59 69 this->value = 0.0; 60 70 }
Note: See TracChangeset
for help on using the changeset viewer.