Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3847 in orxonox.OLD for orxonox/trunk/src/animation_player.cc


Ignore:
Timestamp:
Apr 17, 2005, 2:01:28 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: naming of animation changed
Anim → Animation
tAnim → tAnimation
Animation → Animation3D

@paede: i hope you like it.

File:
1 edited

Legend:

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

    r3833 r3847  
    2828   this->setClassName ("AnimationPlayer");
    2929
    30    this->animationList = new tList<Anim>();
     30   this->animationList = new tList<Animation>();
    3131   this->play();
    3232}
     
    7272   unadding it with animation->notHandled();
    7373*/
    74 void AnimationPlayer::addAnimation(Anim* animation)
     74void AnimationPlayer::addAnimation(Animation* animation)
    7575{
    7676  this->animationList->add(animation);
     
    8181   \param animation the Anmination to remove from the List
    8282*/
    83 void AnimationPlayer::removeAnimation(Anim* animation)
     83void AnimationPlayer::removeAnimation(Animation* animation)
    8484{
    8585  this->animationList->remove(animation);
     
    9292{
    9393  // deleting the Animation List AND all the elements of the List
    94   tIterator<Anim>* animIt = this->animationList->getIterator();
    95   Anim* anim = animIt->nextElement();
     94  tIterator<Animation>* animIt = this->animationList->getIterator();
     95  Animation* anim = animIt->nextElement();
    9696  while( anim != NULL)
    9797    {
     
    103103
    104104  delete this->animationList;
    105   this->animationList = new tList<Anim>();
     105  this->animationList = new tList<Animation>();
    106106}
    107107
     
    115115    {
    116116      // iterate through all the animations and tick them.
    117       tIterator<Anim>* animIt = this->animationList->getIterator();
    118       Anim* anim = animIt->nextElement();
     117      tIterator<Animation>* animIt = this->animationList->getIterator();
     118      Animation* anim = animIt->nextElement();
    119119      while( anim != NULL)
    120120        {
     
    142142
    143143
    144 Anim* AnimationPlayer::getObjectFromBaseObject(const BaseObject* baseObject) const
     144Animation* AnimationPlayer::getObjectFromBaseObject(const BaseObject* baseObject) const
    145145{
    146   tIterator<Anim>* animIt = this->animationList->getIterator();
    147   Anim* anim = animIt->nextElement();
     146  tIterator<Animation>* animIt = this->animationList->getIterator();
     147  Animation* anim = animIt->nextElement();
    148148  while( anim != NULL)
    149149    {
     
    173173  PRINT(0)("-Animation Information---------------+\n");
    174174  // Per ANIMATION DEBUG
    175   tIterator<Anim>* animIt = this->animationList->getIterator();
    176   Anim* anim = animIt->nextElement();
     175  tIterator<Animation>* animIt = this->animationList->getIterator();
     176  Animation* anim = animIt->nextElement();
    177177  while( anim != NULL)
    178178    {
Note: See TracChangeset for help on using the changeset viewer.