Class: Studio::Quest::Earning

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

Overview

Data class describing a quest earning

Instance Attribute Summary collapse

Instance Attribute Details

#earning_args ⇒ Array (readonly)

Argument of the method to call

Returns:

  • (Array)


1122
1123
1124
# File 'docs/3_Studio.rb', line 1122

def earning_args
  @earning_args
end

#earning_method_name ⇒ Symbol (readonly)

Name of the method to call to give the earning to player

Returns:

  • (Symbol)


1119
1120
1121
# File 'docs/3_Studio.rb', line 1119

def earning_method_name
  @earning_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)


1125
1126
1127
# File 'docs/3_Studio.rb', line 1125

def text_format_method_name
  @text_format_method_name
end