// Copyright (c) 2022 Dominic Masters // // This software is released under the MIT License. // https://opensource.org/licenses/MIT #pragma once #include "visualnovel/VisualNovelManager.hpp" #include "display/animation/Animation.hpp" namespace Dawn { class VisualNovelAnimationEvent : public IVisualNovelEvent { protected: struct Animation *animation; void onStart(IVisualNovelEvent *previous) override; bool_t onUpdate() override; void onEnd() override; public: VisualNovelAnimationEvent(VisualNovelManager *manager); }; }