Starting new VN Structure
This commit is contained in:
32
archive/visualnovel/ui/VisualNovelFader.hpp
Normal file
32
archive/visualnovel/ui/VisualNovelFader.hpp
Normal file
@ -0,0 +1,32 @@
|
||||
// Copyright (c) 2022 Dominic Masters
|
||||
//
|
||||
// This software is released under the MIT License.
|
||||
// https://opensource.org/licenses/MIT
|
||||
|
||||
#pragma once
|
||||
#include "ui/UISprite.hpp"
|
||||
#include "ui/UIEmpty.hpp"
|
||||
|
||||
namespace Dawn {
|
||||
class VisualNovelFader : public UISprite {
|
||||
private:
|
||||
|
||||
public:
|
||||
/**
|
||||
* Quickly create a visual novel fader.
|
||||
*
|
||||
* @param canvas Canvas the fader belongs to.
|
||||
* @return Created VN Fader.
|
||||
*/
|
||||
static VisualNovelFader * create(UICanvas *canvas);
|
||||
|
||||
/**
|
||||
* Construct a new Visual Novel Fader. VN Fader is just a sprite that is
|
||||
* easily found by the VN Manager for the purpose of adding transitions to
|
||||
* a VN scene.
|
||||
*
|
||||
* @param canvas Canvas for this component.
|
||||
*/
|
||||
VisualNovelFader(UICanvas *canvas);
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user