Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5777 in orxonox.OLD for trunk/src/util/animation/animation.cc


Ignore:
Timestamp:
Nov 25, 2005, 3:37:11 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: stl::list in AnimationPlayer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/animation/animation.cc

    r4836 r5777  
    3131  // initialize a beginning KeyFrame, that will be deleted afterwards
    3232  this->keyFrameCount = 0;
    33   this->bHandled = true;
    3433  this->bDelete = false;
    3534  this->baseObject = NULL;
     
    5049Animation::~Animation()
    5150{
    52   this->doNotHandle();
     51  AnimationPlayer::getInstance()->removeAnimation(this);
    5352}
    5453
    55 /**
    56  *  tells the AnimationPlayer, that we do not wish to  handle this animation
    57    automatically.
    58 
    59    This means that it will not be ticked, and not be deleted with the AnimationPlayer
    60 */
    61 void Animation::doNotHandle()
    62 {
    63   if (this->bHandled)
    64     AnimationPlayer::getInstance()->removeAnimation(this);
    65 }
    6654
    6755/**
Note: See TracChangeset for help on using the changeset viewer.