Module: GamePlay::PokemonTradeStorageMixin
- Included in:
- PokemonTradeStorage
- Defined in:
- docs/4_Systems_200_Storage.rb
Overview
Mixin definin the Input/Output of the PokemonTradeStorage class
Instance Attribute Summary collapse
-
#return_data ⇒ Integer?
readonly
Get the selected Pokemon index (1~30) = current box, (31~36) = party.
Instance Method Summary collapse
-
#pokemon_selected? ⇒ Boolean
Tell if a Pokemon was selected.
-
#pokemon_selected_in_box? ⇒ Boolean
Tell if the selected Pokemon is from box.
-
#pokemon_selected_in_party? ⇒ Boolean
Tell if the selected Pokemon is from party.
-
#selected_pokemon ⇒ PFM::Pokemon?
Get the selected Pokemon.
Instance Attribute Details
#return_data ⇒ Integer? (readonly)
Get the selected Pokemon index (1~30) = current box, (31~36) = party
1151 1152 1153 |
# File 'docs/4_Systems_200_Storage.rb', line 1151 def return_data @return_data end |
Instance Method Details
#pokemon_selected? ⇒ Boolean
Tell if a Pokemon was selected
1154 1155 |
# File 'docs/4_Systems_200_Storage.rb', line 1154 def pokemon_selected? end |
#pokemon_selected_in_box? ⇒ Boolean
Tell if the selected Pokemon is from box
1162 1163 |
# File 'docs/4_Systems_200_Storage.rb', line 1162 def pokemon_selected_in_box? end |
#pokemon_selected_in_party? ⇒ Boolean
Tell if the selected Pokemon is from party
1166 1167 |
# File 'docs/4_Systems_200_Storage.rb', line 1166 def pokemon_selected_in_party? end |
#selected_pokemon ⇒ PFM::Pokemon?
Get the selected Pokemon
1158 1159 |
# File 'docs/4_Systems_200_Storage.rb', line 1158 def selected_pokemon end |