Changeset 3853 in orxonox.OLD for orxonox/trunk/src/animation.cc
- Timestamp:
- Apr 17, 2005, 1:56:03 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/animation.cc
r3847 r3853 19 19 #include "animation_player.h" 20 20 21 21 /** 22 \brief creates a new Animation 23 24 This also adds the Animation automatically to the AnimationPlayer's list 25 */ 22 26 Animation::Animation(void) 23 27 { … … 34 38 } 35 39 40 /** 41 \brief destructs the Animation 42 43 this also takes the animation out of the AnimationPlayer's list (if it is there) 44 */ 36 45 Animation::~Animation(void) 37 46 { … … 39 48 } 40 49 50 /** 51 \brief tells the AnimationPlayer, that we do not wish to handle this animation 52 automatically. 53 54 This means that it will not be ticked, and not be deleted with the AnimationPlayer 55 */ 41 56 void Animation::doNotHandle(void) 42 57 { … … 45 60 } 46 61 47 62 /** 63 \brief Sets the infinitymode 64 \param postInfinity How the Animation should advance after the last Keyframe 65 */ 48 66 void Animation::setInfinity(ANIM_INFINITY postInfinity) 49 67 { … … 51 69 } 52 70 53 71 /** 72 \brief plays the animation back from the current Time forward 73 */ 54 74 void Animation::play() 55 75 { … … 57 77 } 58 78 59 79 /** 80 \brief Stops the animation. eg. pause(); rewind(); 81 */ 60 82 void Animation::stop() 61 83 { … … 65 87 this->bRunning = false; 66 88 } 89 90 /** 91 \brief Pauses the animation. Stays at the current Time 92 */ 67 93 void Animation::pause() 68 94 { 69 95 this->bRunning = false; 70 96 } 97 98 /** 99 \brief replays the animation, eg. rewind();play(); 100 */ 71 101 void Animation::replay() 72 102 {
Note: See TracChangeset
for help on using the changeset viewer.