Class: Studio::Dex

Inherits:
Object show all
Defined in:
scripts/00800 Studio/00001 Data/00043 Dex.rb

Overview

Data class describing a dex

Defined Under Namespace

Classes: CreatureInfo

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#creaturesArray<CreatureInfo> (readonly)

Get the list of creature in the dex

Returns:



18
19
20
# File 'scripts/00800 Studio/00001 Data/00043 Dex.rb', line 18

def creatures
  @creatures
end

#db_symbolSymbol (readonly)

Get the db_symbol of the dex

Returns:

  • (Symbol)


6
7
8
# File 'scripts/00800 Studio/00001 Data/00043 Dex.rb', line 6

def db_symbol
  @db_symbol
end

#idInteger (readonly)

Get the ID of the dex

Returns:



10
11
12
# File 'scripts/00800 Studio/00001 Data/00043 Dex.rb', line 10

def id
  @id
end

#start_idInteger (readonly)

Get the start id of each creature in the dex

Returns:



14
15
16
# File 'scripts/00800 Studio/00001 Data/00043 Dex.rb', line 14

def start_id
  @start_id
end

Instance Method Details

#nameString

Get the name of the dex

Returns:



22
23
24
# File 'scripts/00800 Studio/00001 Data/00043 Dex.rb', line 22

def name
  return CSVAccess.from(@name).get
end