Module: GamePlay::BagMixin
- Included in:
- Bag
- Defined in:
- docs/4_Systems_103_Bag.rb
Overview
Module defining the IO of the bag scene so user know what to expect
This mixin should also be used to check if the bag scene is right:
Instance Attribute Summary collapse
-
#battle_item_wrapper ⇒ PFM::ItemDescriptor::Wrapper?
Wrapper of the choosen item in battle.
-
#mode ⇒ Symbol
readonly
Get the mode in which the bag was started.
-
#return_data ⇒ Symbol, Integer
ID of the item selected.
Instance Method Summary collapse
-
#selected_item_db_symbol ⇒ Symbol
Get the selected item db_symbol.
Instance Attribute Details
#battle_item_wrapper ⇒ PFM::ItemDescriptor::Wrapper?
Wrapper of the choosen item in battle
508 509 510 |
# File 'docs/4_Systems_103_Bag.rb', line 508 def battle_item_wrapper @battle_item_wrapper end |
#mode ⇒ Symbol (readonly)
Get the mode in which the bag was started
511 512 513 |
# File 'docs/4_Systems_103_Bag.rb', line 511 def mode @mode end |
#return_data ⇒ Symbol, Integer
ID of the item selected
505 506 507 |
# File 'docs/4_Systems_103_Bag.rb', line 505 def return_data @return_data end |
Instance Method Details
#selected_item_db_symbol ⇒ Symbol
Get the selected item db_symbol
514 515 |
# File 'docs/4_Systems_103_Bag.rb', line 514 def selected_item_db_symbol end |