diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-11-30 21:02:27 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-11-30 21:02:27 +0100 |
commit | 6ae0b9038e432869b506cbdfe2779e97d3732d87 (patch) | |
tree | 7fadff8dd2125c48422ab10c6faa532650f8327a /src/crepe/system/AnimatorSystem.h | |
parent | 1520cb55ad714583c3903f2988b0fdc38ede9c18 (diff) |
improved animator
Diffstat (limited to 'src/crepe/system/AnimatorSystem.h')
-rw-r--r-- | src/crepe/system/AnimatorSystem.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/crepe/system/AnimatorSystem.h b/src/crepe/system/AnimatorSystem.h index f8179a9..e8a5158 100644 --- a/src/crepe/system/AnimatorSystem.h +++ b/src/crepe/system/AnimatorSystem.h @@ -1,9 +1,7 @@ #pragma once #include "System.h" - -//TODO: -// control if flip works with animation system +#include "api/LoopTimer.h" namespace crepe { @@ -26,6 +24,9 @@ public: * looping). */ void update() override; + +private: + LoopTimer & timer = LoopTimer::get_instance(); }; } // namespace crepe |