class

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)
Source
new(id : String, text : String)
Source
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source

Instance methods

actions
Source
actions=(actions : Array(String))
Source
add_choice(choice : DialogChoice)
Source
character_name
Source
character_name=(character_name : String | Nil)
Source
choices
Source
choices=(choices : Array(DialogChoice))
Source
conditions
Source
conditions=(conditions : Array(String))
Source
id=(id : String)
Source
is_end
Source
is_end=(is_end : Bool)
Source
text
Source
text=(text : String)
Source