novelate.state

Copyright © Novelate 2020

Members

Properties

isTempScreen
bool isTempScreen [@property getter]

Gets a boolean determining whether the displayed screen is temp or not.

Variables

_fps
auto _fps;

The fps.

_height
size_t _height;

The resolution height.

_isTempScreen
bool _isTempScreen;

Boolean determining whether the displayed screen is temp or not.

_layers
Layer[] _layers;

The layers.

_tempLayers
Layer[] _tempLayers;

The temp layers.

_title
string _title;

The window title.

_width
size_t _width;

The resolution width.

_window
ExternalWindow _window;

The render window.

changeTempScreen
Screen changeTempScreen;

The temp screen to change to.

endGame
bool endGame;

Boolean determining whether the game has ended or not.

exitGame
bool exitGame;

boolean determining whether the game should exit or not.

fullScreen
bool fullScreen;

Boolean determining whether the game is in full-screen or not.

nextScene
string nextScene;

The next scene.

playScene
string playScene;

The current play scene.

running
bool running;

Boolean determining whether the game is running.

selectedLayers
Layer[] selectedLayers;

The selected layers. Usually refers to _layers or _tempLayers.

Meta

Authors

Jacob Jensen (bausshf) Website: https://novelate.com/

Novelate is a free and open-source visual novel engine and framework written in the D programming language.
It can be used freely for both personal and commercial projects.

Module Description: This module handles the global state of the visual novel. Global states are only available internal in the engine and are used to share data between parts that aren\t interacting with each other. At some point these states needs to be rewritten so they're used more safely but as of now they function and doesn't require a lot to maintain.