25 lines
690 B
C++
25 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 "visualnovel/VisualNovelManager.hpp"
|
|
#include "visualnovel/components/SimpleVisualNovelBackground.hpp"
|
|
|
|
namespace Dawn {
|
|
class VisualNovelChangeSimpleBackgroundEvent : public IVisualNovelEvent {
|
|
protected:
|
|
Texture *texture = nullptr;
|
|
|
|
void onStart(IVisualNovelEvent *previous) override;
|
|
bool_t onUpdate() override;
|
|
void onEnd() override;
|
|
|
|
public:
|
|
VisualNovelChangeSimpleBackgroundEvent(
|
|
VisualNovelManager *manager,
|
|
Texture *texture
|
|
);
|
|
};
|
|
} |