Changeset 3847 in orxonox.OLD for orxonox/trunk/src/simple_animation.h
- Timestamp:
- Apr 17, 2005, 2:01:28 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/simple_animation.h
r3752 r3847 13 13 #include "base_object.h" 14 14 #include "list.h" 15 #include "animation_player.h" 15 16 16 17 … … 41 42 This represents an animation for a object 42 43 */ 43 typedef struct Animation { 44 44 class Animation3D 45 { 46 public: 45 47 WorldEntity* object; 46 48 Vector* lastPosition; … … 64 66 */ 65 67 class SimpleAnimation : public BaseObject { 66 67 68 public: 68 69 static SimpleAnimation* getInstance(); … … 94 95 bool bRunning; //<! is set, when the animation is running 95 96 tList<KeyFrame>* frames; //<! where keyframes are stored in 96 tList<Animation >* animators; //<! a list of animation's97 tList<Animation3D>* animators; //<! a list of animation's 97 98 KeyFrame* currentFrame; //<! the frame that is been played now 98 99 KeyFrame* lastFrame; … … 104 105 Vector* tmpVect; //<! this is the temporary vector save place - 105 106 WorldEntity* workingObject; //<! this is a pointer to the current working object that has been selected via selectObject() 106 Animation * workingAnimator; //<! the animator with which you are currently working107 Animation3D* workingAnimator; //<! the animator with which you are currently working 107 108 float deltaT; //<! this is a time constant for the movement 108 109 109 Animation * getAnimationFromWorldEntity(WorldEntity* entity);110 Animation3D* getAnimationFromWorldEntity(WorldEntity* entity); 110 111 111 112 };
Note: See TracChangeset
for help on using the changeset viewer.