Starting new VN Structure
This commit is contained in:
@ -0,0 +1,27 @@
|
||||
// Copyright (c) 2022 Dominic Masters
|
||||
//
|
||||
// This software is released under the MIT License.
|
||||
// https://opensource.org/licenses/MIT
|
||||
|
||||
#include "VisualNovelAnimationEvent.hpp"
|
||||
#include "game/DawnGame.hpp"
|
||||
|
||||
using namespace Dawn;
|
||||
|
||||
VisualNovelAnimationEvent::VisualNovelAnimationEvent(
|
||||
VisualNovelManager *manager
|
||||
) : IVisualNovelEvent(manager) {
|
||||
}
|
||||
|
||||
void VisualNovelAnimationEvent::onStart(IVisualNovelEvent *previous) {
|
||||
|
||||
}
|
||||
|
||||
bool_t VisualNovelAnimationEvent::onUpdate() {
|
||||
this->animation->tick(this->manager->getGame()->timeManager.delta);
|
||||
return !this->animation->finished;
|
||||
}
|
||||
|
||||
void VisualNovelAnimationEvent::onEnd() {
|
||||
|
||||
}
|
Reference in New Issue
Block a user