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