Caseus Tower
 All Classes Namespaces Files Functions Variables
animation.h
Go to the documentation of this file.
1 #pragma once
2 
8 class Animation
9 {
10 private:
12  float currentTime;
14  float duration;
15 
16 public:
21  Animation(float);
22 
26  ~Animation();
27 
33  void updateTimer(float dt);
34 
39  float getCurrentTime();
40 };
Creates an Animation object Creates an Animation object to handle the timing of when an Animation sho...
Definition: animation.h:8
float getCurrentTime()
Animation(float)
void updateTimer(float dt)
float duration
Definition: animation.h:14
float currentTime
Definition: animation.h:12