Skip to main content

print_scene

Function print_scene 

Source
pub fn print_scene<D: Directive>(scene: &Scene<D>) -> String
Expand description

Writes scene in .dlg format (one line per step, reactions indented under their option, an @if block’s lines as far in as its @if), ending with @end and a newline. Parsing the result gives scene back.