Changeset 3727 in orxonox.OLD for orxonox/trunk/src/simple_animation.h
- Timestamp:
- Apr 5, 2005, 7:44:05 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/simple_animation.h
r3726 r3727 43 43 44 44 public: 45 SimpleAnimation(PNode* parent); 46 virtual ~SimpleAnimation(); 45 static SimpleAnimation* getInstance(); 47 46 47 void AnimatorBegin(); 48 void AnimatorEnd(); 49 void selectObject(WorldEntity* entity); 48 50 void addKeyFrame(Vector* point, Quaternion* orientation, float time); 49 51 void addKeyFrame(Vector* point, Quaternion* orientation, float time, movementMode mode); 50 52 void addKeyFrame(KeyFrame* frame); 51 53 void reset(); 54 52 55 53 56 void start(); … … 60 63 61 64 private: 65 SimpleAnimation(); 66 virtual ~SimpleAnimation(); 67 68 static SimpleAnimation* singletonRef; 62 69 bool bRunning; //<! is set, when the animation is running 63 70 tList<KeyFrame>* frames; //<! where keyframes are stored in … … 69 76 70 77 Vector* tmpVect; //<! this is the temporary vector save place - 71 78 WorldEntity* workingObject; //<! this is a pointer to the current working object that has been selected via selectObject() 79 bool bDescriptive; //<! is true, when AnimatorBegin() was executed but no AnimatorEnd() yet: in describtive mode: pass commands 72 80 }; 73 81
Note: See TracChangeset
for help on using the changeset viewer.