2 #ifndef KJY_ANIM_ENGINE_ANIMATION_SYSTEM_HPP_ 3 #define KJY_ANIM_ENGINE_ANIMATION_SYSTEM_HPP_ 4 #define GLFW_INCLUDE_NONE 5 #include <GLFW/glfw3.h> 6 #include "SystemInterface.hpp" 7 #include <components/attachable/KeyframeAnimation.hpp> 16 virtual void init(GLFWwindow* window);
17 virtual void process(
Scene& scene,
bool realtime);
18 virtual void process(
Scene& scene)
override {process(scene,
true);}
19 virtual void processEntity(
Scene& scene,
Entity* entity,
double timestep,
double mAnimationTime);
20 virtual void applyAnimator(
Scene& scene,
Animator* animator,
double timestep,
double mAnimationTime);
22 double getFrameDuration()
const {
return(mFrameDuration);}
23 void setFrameDuration(
double duration){mFrameDuration = duration;}
26 double mFrameDuration = 1.0/24.0;
28 GLFWwindow* _mWindow =
nullptr;
Definition: AnimationSystem.hpp:9
Definition: EntitiesBase.hpp:18
Definition: SystemInterface.hpp:6
Definition: KeyframeAnimation.hpp:130