Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/src/animation_player.h @ 3812

Last change on this file since 3812 was 3812, checked in by bensch, 19 years ago

orxonox/trunk: animation-player added

File size: 699 bytes
Line 
1/*!
2    \file animation_player.h
3*/
4
5#ifndef _ANIMATION_PLAYER_H
6#define _ANIMATION_PLAYER_H
7
8#include "base_object.h"
9#include "animation.h"
10
11/* FORWARD DEFINITION */
12
13//! A AnimationPlayer, that handles the animation of all the Animations in the scene.
14class AnimationPlayer : public BaseObject {
15
16 public:
17  static AnimationPlayer* getInstance(void);
18  virtual ~AnimationPlayer(void);
19
20  void addAnimation(Anim* animation);
21
22  void tick(float timePassed);
23
24 private:
25  /* singleton */
26  AnimationPlayer(void);
27  static AnimationPlayer* singletonRef;
28
29  /* class specific */
30  tList<Anim>* animationList;              //!< A List of Animations to be handled
31};
32
33
34#endif /* _ANIMATION_PLAYER_H */
Note: See TracBrowser for help on using the repository browser.