class Gamefic::Props::Default
Props::Default is sufficient.
MultipleChoice, use specialized Props subclasses, but in many cases,
Scenes are able but not required to subclass it. Some scenes, like
Props::Default includes the most common attributes that a scene requires.
callbacks.
they use. Props can be accessed in a scene’s on_start and on_finish
A collection of data related to a scene. Scenes define which Props class
def enter(text)
-
text
(String
) --
def enter(text) @input = text end
def output
def output @output ||= Props::Output.new end
def prompt
def prompt @prompt ||= '>' end