Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3858 in orxonox.OLD for orxonox/trunk/src/animation.cc


Ignore:
Timestamp:
Apr 17, 2005, 3:27:54 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: moved the infinity-handling into animation.cc

File:
1 edited

Legend:

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

    r3853 r3858  
    7070
    7171/**
     72   \brief handles the Animation if it gets out of boundraries eg. if animation is finished.
     73*/
     74void Animation::handleInfinity(void)
     75{
     76  switch (this->postInfinity)
     77    {
     78    case ANIM_INF_CONSTANT:
     79      this->localTime = 0.0;
     80      this->bRunning = false;
     81      break;
     82    case ANIM_INF_REPLAY:
     83      this->replay();
     84      break;
     85    case ANIM_INF_DELETE: // this will possibly never be made
     86      //this->bDelete;
     87      break;
     88    }
     89}
     90
     91/**
    7292   \brief plays the animation back from the current Time forward
    7393*/
Note: See TracChangeset for help on using the changeset viewer.