Class: Studio::LearnableMove
- Defined in:
- scripts/00800 Studio/00001 Data/00042 CreatureForm.rb
Overview
Data class describing a learnable move
Direct Known Subclasses
BreedLearnableMove, EvolutionLearnableMove, LevelLearnableMove, TechLearnableMove, TutorLearnableMove
Instance Attribute Summary collapse
-
#move ⇒ Symbol
readonly
db_symbol of the move that can be learnt.
Instance Method Summary collapse
-
#breed_learnable? ⇒ Boolean
Test if the move is learnable by breeding.
-
#evolution_learnable? ⇒ Boolean
Test if the move is learnable by evolution.
-
#level_learnable? ⇒ Boolean
Test if the move is learnable by level.
-
#tech_learnable? ⇒ Boolean
Test if the move is learnable by tech item.
-
#tutor_learnable? ⇒ Boolean
Test if the move is learnable by tutor.
Instance Attribute Details
#move ⇒ Symbol (readonly)
db_symbol of the move that can be learnt
168 169 170 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 168 def move @move end |
Instance Method Details
#breed_learnable? ⇒ Boolean
Test if the move is learnable by breeding
190 191 192 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 190 def breed_learnable? false end |
#evolution_learnable? ⇒ Boolean
Test if the move is learnable by evolution
196 197 198 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 196 def evolution_learnable? false end |
#level_learnable? ⇒ Boolean
Test if the move is learnable by level
172 173 174 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 172 def level_learnable? false end |
#tech_learnable? ⇒ Boolean
Test if the move is learnable by tech item
184 185 186 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 184 def tech_learnable? false end |
#tutor_learnable? ⇒ Boolean
Test if the move is learnable by tutor
178 179 180 |
# File 'scripts/00800 Studio/00001 Data/00042 CreatureForm.rb', line 178 def tutor_learnable? false end |