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
935 936 937 |
# File 'docs/3_Studio.rb', line 935 def hidden_by_default @hidden_by_default end |
#objective_method_args ⇒ Array (readonly)
Arguments of the method to call
929 930 931 |
# File 'docs/3_Studio.rb', line 929 def objective_method_args @objective_method_args end |
#objective_method_name ⇒ Symbol (readonly)
Name of the method to call to validate the objective
926 927 928 |
# File 'docs/3_Studio.rb', line 926 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
932 933 934 |
# File 'docs/3_Studio.rb', line 932 def text_format_method_name @text_format_method_name end |