Class: Studio::Dex::CreatureInfo

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

Overview

Data class describing a creature info in the dex

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(db_symbol, form) ⇒ CreatureInfo

Create a new CreatureInfo

Parameters:

  • db_symbol (Symbol)
  • form (Integer)


1015
1016
# File 'docs/3_Studio.rb', line 1015

def initialize(db_symbol, form)
end

Instance Attribute Details

#db_symbol ⇒ Symbol (readonly)

Get the db_symbol of the creature

Returns:

  • (Symbol)


1008
1009
1010
# File 'docs/3_Studio.rb', line 1008

def db_symbol
  @db_symbol
end

#form ⇒ Integer (readonly)

Get the form of the creature

Returns:

  • (Integer)


1011
1012
1013
# File 'docs/3_Studio.rb', line 1011

def form
  @form
end