novelate.state

Copyright © Novelate 2020

Members

Variables

_activeScreen
Screen _activeScreen;

The active screen.

_activeScreenName
string _activeScreenName;

The active screen name.

_activeScreens
Screen[string] _activeScreens;

Active screens.

_fps
auto _fps;

The fps.

_height
size_t _height;

The resolution height.

_title
string _title;

The window title.

_width
size_t _width;

The resolution width.

_window
ExternalWindow _window;

The render window.

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.

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.