Changeset 4485 in orxonox.OLD for orxonox/trunk/src/util/animation/animation_player.h
- Timestamp:
- Jun 3, 2005, 12:19:43 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/animation/animation_player.h
r3868 r4485 29 29 30 30 public: 31 static AnimationPlayer* getInstance(void); 31 /** \returns a Pointer to the only object of this Class */ 32 inline static AnimationPlayer* getInstance(void) { if (!singletonRef) singletonRef = new AnimationPlayer(); return singletonRef; }; 33 32 34 virtual ~AnimationPlayer(void); 33 35 … … 42 44 void pause(void); 43 45 44 Animation* get ObjectFromBaseObject(const BaseObject* baseObject) const;46 Animation* getAnimationFromBaseObject(const BaseObject* baseObject) const; 45 47 46 48 void debug(void); … … 49 51 /* singleton */ 50 52 AnimationPlayer(void); 51 static AnimationPlayer* singletonRef;53 static AnimationPlayer* singletonRef; //!< SingletonReference to this class. 52 54 53 55 /* class specific */ 54 tList<Animation>* animationList; //!< A List of Animations to be handled.55 bool bRunning;//!< If the AnimationPlayer is running.56 tList<Animation>* animationList; //!< A List of Animations to be handled. 57 bool bRunning; //!< If the AnimationPlayer is running. 56 58 }; 57 59
Note: See TracChangeset
for help on using the changeset viewer.