First pass at scene 1
This commit is contained in:
@ -9,6 +9,7 @@ target_sources(${DAWN_TARGET_NAME}
|
||||
VisualNovelFadeEvent.cpp
|
||||
VisualNovelTextboxEvent.cpp
|
||||
VisualNovelChangeSimpleBackgroundEvent.cpp
|
||||
VisualNovelEmptyEvent.cpp
|
||||
)
|
||||
|
||||
# Subdirs
|
||||
|
25
src/dawn/visualnovel/events/VisualNovelEmptyEvent.cpp
Normal file
25
src/dawn/visualnovel/events/VisualNovelEmptyEvent.cpp
Normal file
@ -0,0 +1,25 @@
|
||||
// Copyright (c) 2023 Dominic Masters
|
||||
//
|
||||
// This software is released under the MIT License.
|
||||
// https://opensource.org/licenses/MIT
|
||||
|
||||
#include "VisualNovelEmptyEvent.hpp"
|
||||
|
||||
using namespace Dawn;
|
||||
|
||||
VisualNovelEmptyEvent::VisualNovelEmptyEvent(VisualNovelManager *man) :
|
||||
IVisualNovelEvent(man)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void VisualNovelEmptyEvent::onStart(IVisualNovelEvent *prev) {
|
||||
|
||||
}
|
||||
|
||||
bool_t VisualNovelEmptyEvent::onUpdate() {
|
||||
return false;
|
||||
}
|
||||
|
||||
void VisualNovelEmptyEvent::onEnd() {
|
||||
}
|
19
src/dawn/visualnovel/events/VisualNovelEmptyEvent.hpp
Normal file
19
src/dawn/visualnovel/events/VisualNovelEmptyEvent.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
// Copyright (c) 2023 Dominic Masters
|
||||
//
|
||||
// This software is released under the MIT License.
|
||||
// https://opensource.org/licenses/MIT
|
||||
|
||||
#pragma once
|
||||
#include "visualnovel/VisualNovelManager.hpp"
|
||||
|
||||
namespace Dawn {
|
||||
class VisualNovelEmptyEvent : public IVisualNovelEvent {
|
||||
protected:
|
||||
void onStart(IVisualNovelEvent *previous) override;
|
||||
bool_t onUpdate() override;
|
||||
void onEnd() override;
|
||||
|
||||
public:
|
||||
VisualNovelEmptyEvent(VisualNovelManager *manager);
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user