Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3982 in orxonox.OLD for orxonox/trunk/src/util/animation/animation.h


Ignore:
Timestamp:
Apr 26, 2005, 3:17:43 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: now there is a posibility to play only parts of the animation:
use anim→playNextKeyframes(count_of_keyframes_to_play); to make it work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/util/animation/animation.h

    r3979 r3982  
    7373
    7474  void play(); // equals resume();
     75  void playNextKeyframes(int n = 1);
    7576  void stop();
    7677  void pause();
     
    99100  BaseObject* baseObject;         //!< The same as object in the derived classes, but with reference to BaseObject
    100101  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.
    101103  bool bHandled;                  //!< If this Animation is handled by the AnimationPlayer.
    102104  bool bRunning;                  //!< If the animation is running
Note: See TracChangeset for help on using the changeset viewer.