summary refs log tree commit diff stats
path: root/src/animation_system.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/animation_system.h')
-rw-r--r--src/animation_system.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/animation_system.h b/src/animation_system.h index a116673..c64c2dc 100644 --- a/src/animation_system.h +++ b/src/animation_system.h
@@ -2,6 +2,7 @@
2#define ANIMATION_SYSTEM_H_CCCC7CB8 2#define ANIMATION_SYSTEM_H_CCCC7CB8
3 3
4#include <string_view> 4#include <string_view>
5#include <vector>
5#include "direction.h" 6#include "direction.h"
6#include "system.h" 7#include "system.h"
7#include "timer.h" 8#include "timer.h"
@@ -28,7 +29,7 @@ private:
28 void updateAnimation(int spriteId); 29 void updateAnimation(int spriteId);
29 30
30 Game& game_; 31 Game& game_;
31 Timer animTimer_ {1000/5};//30fps * 1000 t/s;; 32 std::vector<Timer> animTimers_ = {{1000/5}, {1000/60}};//30fps * 1000 t/s;;
32}; 33};
33 34
34#endif /* end of include guard: ANIMATION_SYSTEM_H_CCCC7CB8 */ 35#endif /* end of include guard: ANIMATION_SYSTEM_H_CCCC7CB8 */