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

#creatures ⇒ Array<CreatureInfo> (readonly)

Get the list of creature in the dex

Returns:



996
997
998
# File 'docs/3_Studio.rb', line 996

def creatures
  @creatures
end

#csv ⇒ CSVAccess (readonly)

Get the dex name

Returns:



999
1000
1001
# File 'docs/3_Studio.rb', line 999

def csv
  @csv
end

#db_symbol ⇒ Symbol (readonly)

Get the db_symbol of the dex

Returns:

  • (Symbol)


987
988
989
# File 'docs/3_Studio.rb', line 987

def db_symbol
  @db_symbol
end

#id ⇒ Integer (readonly)

Get the ID of the dex

Returns:

  • (Integer)


990
991
992
# File 'docs/3_Studio.rb', line 990

def id
  @id
end

#start_id ⇒ Integer (readonly)

Get the start id of each creature in the dex

Returns:

  • (Integer)


993
994
995
# File 'docs/3_Studio.rb', line 993

def start_id
  @start_id
end

Instance Method Details

#name ⇒ String

Get the name of the dex

Returns:



1002
1003
# File 'docs/3_Studio.rb', line 1002

def name
end