Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3782 in orxonox.OLD for orxonox/branches/textEngine/src/animation.h


Ignore:
Timestamp:
Apr 12, 2005, 9:36:12 AM (20 years ago)
Author:
bensch
Message:

orxonox/branches/textEngine: added Anim a superclass of Animation, for handling animation-ticking in a List…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/textEngine/src/animation.h

    r3781 r3782  
    2323#define _ANIMATION_H
    2424
    25 #include "base_object.h"
     25
     26// FORWARD DEFINITION
     27template<class T> class tList;
    2628
    2729enum ANIM_FUNCTION {ANIM_LINEAR };
    2830
     31class Anim
     32{
     33 protected:
     34  Anim();
     35
     36  static tList<Anim>* animatorList;
     37};
     38
     39
    2940//! A Class to handle some animation for single floated values.
    30 template<class T> class Animation : public BaseObject
     41template<class T> class Animation : public Anim
    3142{
    3243 public:
     
    5667Animation<T>::Animation ()
    5768{
    58    this->setClassName ("Animation");
    5969   this->value = 0.0;
    6070}
Note: See TracChangeset for help on using the changeset viewer.