Class: Studio::TechItem
Overview
Data class describing an Item that allow a creature to learn a move
Constant Summary collapse
- HM_TM_TEXT =
HM/TM text
'%s %s'
Constants inherited from Item
Instance Attribute Summary collapse
-
#is_hm ⇒ Boolean
readonly
Get if the item is a Hidden Move or not.
-
#move ⇒ Symbol
(also: #move_db_symbol)
readonly
Get the db_symbol of the move it teaches.
Attributes inherited from Item
#db_symbol, #fling_power, #icon, #id, #is_battle_usable, #is_holdable, #is_limited, #is_map_usable, #position, #price, #socket
Instance Method Summary collapse
-
#exact_name ⇒ String
Get the exact name of the item.
Methods inherited from Item
#description, #me, #name, #plural_name
Instance Attribute Details
#is_hm ⇒ Boolean (readonly)
Get if the item is a Hidden Move or not
1205 1206 1207 |
# File 'docs/3_Studio.rb', line 1205 def is_hm @is_hm end |
#move ⇒ Symbol (readonly) Also known as: move_db_symbol
Get the db_symbol of the move it teaches
1202 1203 1204 |
# File 'docs/3_Studio.rb', line 1202 def move @move end |
Instance Method Details
#exact_name ⇒ String
Get the exact name of the item
1209 1210 |
# File 'docs/3_Studio.rb', line 1209 def exact_name end |