Example character level animations.
This commit is contained in:
@ -10,13 +10,14 @@
|
||||
namespace Dawn {
|
||||
class AnimationController : public SceneItemComponent {
|
||||
private:
|
||||
std::vector<Animation*> animations;
|
||||
void onSceneUpdate();
|
||||
|
||||
public:
|
||||
Animation *animation = nullptr;
|
||||
|
||||
AnimationController(SceneItem *item);
|
||||
|
||||
void addAnimation(Animation *animation);
|
||||
|
||||
void onStart() override;
|
||||
void onDispose() override;
|
||||
};
|
||||
|
Reference in New Issue
Block a user