24 lines
684 B
C++
24 lines
684 B
C++
// Copyright (c) 2023 Dominic Masters
|
|
//
|
|
// This software is released under the MIT License.
|
|
// https://opensource.org/licenses/MIT
|
|
|
|
#pragma once
|
|
#include "visualnovel/events/animation/VisualNovelSimpleAnimationEvent.hpp"
|
|
#include "visualnovel/components/VisualNovelCharacter.hpp"
|
|
#include "scene/components/display/Material.hpp"
|
|
|
|
namespace Dawn {
|
|
class VisualNovelFadeCharacterEvent :
|
|
public VisualNovelSimpleAnimationEvent<float_t>
|
|
{
|
|
public:
|
|
VisualNovelFadeCharacterEvent(
|
|
VisualNovelManager *man,
|
|
VisualNovelCharacter *character,
|
|
bool_t fadeIn,
|
|
easefunction_t *ease,
|
|
float_t duration
|
|
);
|
|
};
|
|
} |