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_defaultBoolean (readonly)

If the objective is hidden by default

Returns:

  • (Boolean)


935
936
937
# File 'docs/3_Studio.rb', line 935

def hidden_by_default
  @hidden_by_default
end

#objective_method_argsArray (readonly)

Arguments of the method to call

Returns:

  • (Array)


929
930
931
# File 'docs/3_Studio.rb', line 929

def objective_method_args
  @objective_method_args
end

#objective_method_nameSymbol (readonly)

Name of the method to call to validate the objective

Returns:

  • (Symbol)


926
927
928
# File 'docs/3_Studio.rb', line 926

def objective_method_name
  @objective_method_name
end

#text_format_method_nameSymbol (readonly)

Name of the method to call in order to get the text to show in UI

Returns:

  • (Symbol)


932
933
934
# File 'docs/3_Studio.rb', line 932

def text_format_method_name
  @text_format_method_name
end