Crate dialogi

Source
Expand description

A crate to parse dialog lines from a simple markdown inspired format.

Structs§

DialogBlock
A full dialog block consisting of the name of the talker, the lines of the dialog, and some final actions to be advanced when the whole text box is fully displayed.
DialogLine
A single dialog line consisting of actions to be advanced when the line is displayed, and the text itself.
DialogSequence
Defines a full sequential dialog as a sequence of dialog blocks.

Enums§

ParsingError
An error type returned when parsing a the dialog structure fails.

Traits§

DialogChange
A change to define an how actions are applied.
DialogMap
A trait to parse dialog sequences into, identified by a name.
DialogParameter
A parameter to define an action of the dialog.