24 lines
664 B
C++
24 lines
664 B
C++
// Copyright (c) 2023 Dominic Masters
|
|
//
|
|
// This software is released under the MIT License.
|
|
// https://opensource.org/licenses/MIT
|
|
|
|
#pragma once
|
|
#include "VisualNovelAnimationEvent.hpp"
|
|
#include "display/animation/SimpleCallbackAnimation.hpp"
|
|
|
|
namespace Dawn {
|
|
template<typename T, class I>
|
|
class VisualNovelSimpleCallbackAnimationEvent :
|
|
public VisualNovelAnimationEvent
|
|
{
|
|
public:
|
|
struct SimpleCallbackAnimation<T, I> callbackAnimation;
|
|
|
|
VisualNovelSimpleCallbackAnimationEvent(VisualNovelManager *man) :
|
|
VisualNovelAnimationEvent(man)
|
|
{
|
|
this->animation = &callbackAnimation;
|
|
}
|
|
};
|
|
} |