Class: Studio::Quest::Objective

Inherits:
Object
  • Object
show all
Defined in:
docs/3_Studio.rb

Overview

Data class describing a quest objective

Instance Attribute Summary collapse

Instance Attribute Details

#hidden_by_default ⇒ Boolean (readonly)

If the objective is hidden by default

Returns:

  • (Boolean)


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

Returns:

  • (Array)


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

Returns:

  • (Symbol)


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

Returns:

  • (Symbol)


1110
1111
1112
# File 'docs/3_Studio.rb', line 1110

def text_format_method_name
  @text_format_method_name
end