GlobeEngine
Animation.h
Go to the documentation of this file.
1 
8 #ifndef GlobeEngine_Animation_h
9 #define GlobeEngine_Animation_h
10 
11 namespace ge {
12  class Animation
13  {
14 
15  public:
16  Animation();
17  ~Animation();
18 
19  void clear();
20  void create(double _animationIntervall);
21  void start();
22  void stop();
23  void update();
24 
25  void setMaximumTime(int _time);
26  int getMaximumTime() const;
27  int getCurrentIdx() const;
28 
29  private:
30  bool animated;
31  int index;
32  double time;
33  double intervall;
34  double maximumTime;
35  };
36 }
37 #endif
int getCurrentIdx() const
Definition: Animation.cpp:63
void update()
Definition: Animation.cpp:43
void start()
Definition: Animation.cpp:33
void clear()
Definition: Animation.cpp:19
Animation()
Definition: Animation.cpp:11
void create(double _animationIntervall)
Definition: Animation.cpp:27
int getMaximumTime() const
Definition: Animation.cpp:58
Definition: AvalancheTrainingSimulationEngine.h:28
~Animation()
Definition: Animation.cpp:15
void stop()
Definition: Animation.cpp:39
Definition: Animation.h:12
void setMaximumTime(int _time)
Definition: Animation.cpp:54