Tileset animations.

This commit is contained in:
2022-12-07 20:13:59 -08:00
parent 0a4170ea3d
commit 40647ee6c4
16 changed files with 262 additions and 165 deletions

View File

@ -0,0 +1,24 @@
// Copyright (c) 2022 Dominic Masters
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
#pragma once
#include "scene/SceneItemComponent.hpp"
#include "display/animation/Animation.hpp"
namespace Dawn {
class AnimationController : public SceneItemComponent {
private:
void onSceneUpdate();
public:
Animation *animation = nullptr;
AnimationController(SceneItem *item);
void onStart() override;
~AnimationController();
};
}