Class: Studio::Quest::Objective
Overview
Data class describing a quest objective
Instance Attribute Summary collapse
-
#hidden_by_default ⇒ Boolean
readonly
If the objective is hidden by default.
-
#objective_method_args ⇒ Array
readonly
Arguments of the method to call.
-
#objective_method_name ⇒ Symbol
readonly
Name of the method to call to validate the objective.
-
#text_format_method_name ⇒ Symbol
readonly
Name of the method to call in order to get the text to show in UI.
Instance Attribute Details
#hidden_by_default ⇒ Boolean (readonly)
If the objective is hidden by default
1113 1114 1115 |
# File 'docs/3_Studio.rb', line 1113 def hidden_by_default @hidden_by_default end |
#objective_method_args ⇒ Array (readonly)
Arguments of the method to call
1107 1108 1109 |
# File 'docs/3_Studio.rb', line 1107 def objective_method_args @objective_method_args end |
#objective_method_name ⇒ Symbol (readonly)
Name of the method to call to validate the objective
1104 1105 1106 |
# File 'docs/3_Studio.rb', line 1104 def objective_method_name @objective_method_name end |
#text_format_method_name ⇒ Symbol (readonly)
Name of the method to call in order to get the text to show in UI
1110 1111 1112 |
# File 'docs/3_Studio.rb', line 1110 def text_format_method_name @text_format_method_name end |