Class: Studio::Creature

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

Overview

Data class describing a creature

Direct Known Subclasses

CreatureForm

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#db_symbolSymbol (readonly)

db_symbol of the specie

Returns:

  • (Symbol)


569
570
571
# File 'docs/3_Studio.rb', line 569

def db_symbol
  @db_symbol
end

#formsArray<CreatureForm> (readonly)

all the form of the creature

Returns:



572
573
574
# File 'docs/3_Studio.rb', line 572

def forms
  @forms
end

#idInteger (readonly)

ID of the specie

Returns:

  • (Integer)


566
567
568
# File 'docs/3_Studio.rb', line 566

def id
  @id
end

Instance Method Details

#descriptionString Also known as: descr

Get the creature description

Returns:



583
584
# File 'docs/3_Studio.rb', line 583

def description
end

#nameString

Get the creature name

Returns:



575
576
# File 'docs/3_Studio.rb', line 575

def name
end

#speciesString

Get the specie name

Returns:



579
580
# File 'docs/3_Studio.rb', line 579

def species
end