Class: Studio::Dex

Inherits:
Object show all
Defined in:
docs/3_Studio.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:



870
871
872
# File 'docs/3_Studio.rb', line 870

def creatures
  @creatures
end

#csvCSVAccess (readonly)

Get the dex name

Returns:



873
874
875
# File 'docs/3_Studio.rb', line 873

def csv
  @csv
end

#db_symbolSymbol (readonly)

Get the db_symbol of the dex

Returns:

  • (Symbol)


861
862
863
# File 'docs/3_Studio.rb', line 861

def db_symbol
  @db_symbol
end

#idInteger (readonly)

Get the ID of the dex

Returns:

  • (Integer)


864
865
866
# File 'docs/3_Studio.rb', line 864

def id
  @id
end

#start_idInteger (readonly)

Get the start id of each creature in the dex

Returns:

  • (Integer)


867
868
869
# File 'docs/3_Studio.rb', line 867

def start_id
  @start_id
end

Instance Method Details

#nameString

Get the name of the dex

Returns:



876
877
# File 'docs/3_Studio.rb', line 876

def name
end