Changeset 4178 in orxonox.OLD for orxonox/branches/physics/src/util/animation/animation.h
- Timestamp:
- May 13, 2005, 11:16:33 PM (19 years ago)
- Location:
- orxonox/branches/physics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/physics
- Property svn:externals
-
old new 1 data http://svn.orxonox.ethz.ch/data 1
-
- Property svn:externals
-
orxonox/branches/physics/src/util/animation/animation.h
r3953 r4178 25 25 ANIM_NEG_EXP: fast, slow 26 26 ANIM_RANDOM: eratic 27 27 28 ANIM_NULL: !!DO NOT USE THIS!! only for internal handling 29 28 30 deprecated QUADRATIC 29 31 */ … … 35 37 ANIM_NEG_EXP, 36 38 ANIM_QUADRATIC, 37 ANIM_RANDOM}; 39 ANIM_RANDOM, 40 ANIM_NULL}; 41 #define ANIM_DEFAULT_FUNCTION ANIM_LINEAR //!< A default function to choose from the above set 38 42 39 43 //! An enumerator describing what the animation should do after the last keyframe. … … 69 73 70 74 void play(); // equals resume(); 75 void playNextKeyframes(int n = 1); 71 76 void stop(); 72 77 void pause(); … … 95 100 BaseObject* baseObject; //!< The same as object in the derived classes, but with reference to BaseObject 96 101 unsigned int keyFrameCount; //!< The Count of KeyFrames. 102 int keyFramesToPlay; //!< How many more Keyframes to play. if negative it will be ignored if 0 stop. 97 103 bool bHandled; //!< If this Animation is handled by the AnimationPlayer. 98 104 bool bRunning; //!< If the animation is running
Note: See TracChangeset
for help on using the changeset viewer.