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)


889
890
# File 'docs/3_Studio.rb', line 889

def initialize(db_symbol, form)
end

Instance Attribute Details

#db_symbolSymbol (readonly)

Get the db_symbol of the creature

Returns:

  • (Symbol)


882
883
884
# File 'docs/3_Studio.rb', line 882

def db_symbol
  @db_symbol
end

#formInteger (readonly)

Get the form of the creature

Returns:

  • (Integer)


885
886
887
# File 'docs/3_Studio.rb', line 885

def form
  @form
end