VNState

Holds the current state of the Visual Novel system

Constructors

this
this()
Undocumented in source.

Members

Functions

changeScene
void changeScene(string scene)

Changes the currently active scene

cleanup
void cleanup()

Cleanup procedure before closing VN state

draw
void draw()

Draw's the visual novel

loadCharacters
void loadCharacters(string[] characters)

Loads the characters defined in a list

loadScript
void loadScript(Scene[string] manuscript)

Loads a script

markAutoNext
void markAutoNext()

Sets dialogue auto next flag

update
void update()

Updates the visual novel

Variables

ambience
Music[] ambience;

Ambience loops being played

cg
Texture cg;

The background/cg texture

characters
Character[string] characters;

The list of the characters currently in the scene

dialogue
DialogueManager dialogue;

The dialogue manager

music
Music music;

Music being played

script
Script script;

The current script being executed by the engine

Meta