Class: Studio::Creature
Overview
Data class describing a creature
Direct Known Subclasses
Instance Attribute Summary collapse
-
#db_symbol ⇒ Symbol
readonly
db_symbol of the specie.
-
#forms ⇒ Array<CreatureForm>
readonly
all the form of the creature.
-
#id ⇒ Integer
readonly
ID of the specie.
Instance Method Summary collapse
-
#description ⇒ String
(also: #descr)
Get the creature description.
-
#name ⇒ String
Get the creature name.
-
#species ⇒ String
Get the specie name.
Instance Attribute Details
#db_symbol ⇒ Symbol (readonly)
db_symbol of the specie
688 689 690 |
# File 'docs/3_Studio.rb', line 688 def db_symbol @db_symbol end |
#forms ⇒ Array<CreatureForm> (readonly)
all the form of the creature
691 692 693 |
# File 'docs/3_Studio.rb', line 691 def forms @forms end |
#id ⇒ Integer (readonly)
ID of the specie
685 686 687 |
# File 'docs/3_Studio.rb', line 685 def id @id end |
Instance Method Details
#description ⇒ String Also known as: descr
Get the creature description
702 703 |
# File 'docs/3_Studio.rb', line 702 def description end |