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
569 570 571 |
# File 'docs/3_Studio.rb', line 569 def db_symbol @db_symbol end |
#forms ⇒ Array<CreatureForm> (readonly)
all the form of the creature
572 573 574 |
# File 'docs/3_Studio.rb', line 572 def forms @forms end |
#id ⇒ Integer (readonly)
ID of the specie
566 567 568 |
# File 'docs/3_Studio.rb', line 566 def id @id end |
Instance Method Details
#description ⇒ String Also known as: descr
Get the creature description
583 584 |
# File 'docs/3_Studio.rb', line 583 def description end |