diff options
author | chai <chaifix@163.com> | 2018-11-25 00:11:28 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-11-25 00:11:28 +0800 |
commit | e8e12b11db220160eb63727fb03548410bf3afd2 (patch) | |
tree | a36d62b783e97af9047469955b1aa0ddae6b4627 /src/libjin/graphics/animations | |
parent | 42421575d2e17b5c57ff0034c037b651bd6d1119 (diff) |
*misc
Diffstat (limited to 'src/libjin/graphics/animations')
-rw-r--r-- | src/libjin/graphics/animations/je_animation.h | 4 | ||||
-rw-r--r-- | src/libjin/graphics/animations/je_animator.h | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/libjin/graphics/animations/je_animation.h b/src/libjin/graphics/animations/je_animation.h index 4037721..fd22049 100644 --- a/src/libjin/graphics/animations/je_animation.h +++ b/src/libjin/graphics/animations/je_animation.h @@ -4,6 +4,8 @@ #include <vector> #include <string> +#include "../../common/je_object.h" + #include "../je_sprite.h" namespace JinEngine @@ -16,7 +18,7 @@ namespace JinEngine /// /// Animation clip with key. /// - class Animation + class Animation : public Object { public: Animation(); diff --git a/src/libjin/graphics/animations/je_animator.h b/src/libjin/graphics/animations/je_animator.h index d3fdbae..bee3d7d 100644 --- a/src/libjin/graphics/animations/je_animator.h +++ b/src/libjin/graphics/animations/je_animator.h @@ -3,6 +3,7 @@ #include <string> +#include "../../common/je_object.h" #include "../../utils/je_log.h" #include "je_animation.h" @@ -14,7 +15,7 @@ namespace JinEngine namespace Animations { - class Animator : public IRenderable + class Animator : public Object, public IRenderable { public: Animator(); |