PointClickEngine::Characters::Dialogue::DialogNode
Inherits YAML::Serializable < Reference < Object
Represents a node in a dialog tree
Constructors
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
Sourcenew(id : String, text : String)
Sourcenew
Sourcenew(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
SourceInstance methods
actions
Sourceactions=(actions : Array(String))
Sourceadd_choice(choice : DialogChoice)
Sourcecharacter_name
Sourcecharacter_name=(character_name : String | Nil)
Sourcechoices
Sourcechoices=(choices : Array(DialogChoice))
Sourceconditions
Sourceconditions=(conditions : Array(String))
Sourceid
Sourceid=(id : String)
Sourceis_end
Sourceis_end=(is_end : Bool)
Sourcetext
Sourcetext=(text : String)
Source