Starting new VN Structure
This commit is contained in:
@ -0,0 +1,36 @@
|
||||
// Copyright (c) 2023 Dominic Masters
|
||||
//
|
||||
// This software is released under the MIT License.
|
||||
// https://opensource.org/licenses/MIT
|
||||
|
||||
#pragma once
|
||||
#include "visualnovel/events/animation/VisualNovelSimpleCallbackAnimationEvent.hpp"
|
||||
|
||||
namespace Dawn {
|
||||
class VisualNovelTransformItemEvent :
|
||||
public VisualNovelSimpleCallbackAnimationEvent<glm::vec3, Transform>
|
||||
{
|
||||
protected:
|
||||
bool_t relative = false;
|
||||
SceneItem *item = nullptr;
|
||||
void onStart(IVisualNovelEvent *previous) override;
|
||||
|
||||
public:
|
||||
VisualNovelTransformItemEvent(
|
||||
VisualNovelManager *man,
|
||||
SceneItem *item,
|
||||
glm::vec3 start,
|
||||
glm::vec3 end,
|
||||
easefunction_t *ease,
|
||||
float_t duration
|
||||
);
|
||||
|
||||
VisualNovelTransformItemEvent(
|
||||
VisualNovelManager *man,
|
||||
SceneItem *item,
|
||||
glm::vec3 end,
|
||||
easefunction_t *ease,
|
||||
float_t duration
|
||||
);
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user