Module: GamePlay::PartyMenuMixin

Included in:
Party_Menu
Defined in:
docs/4_Systems_102_Party.rb

Overview

Module defining the IO of the PartyMenu

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#call_skill_processArray(Proc, PFM::Pokemon, PFM::Skill), ...

Return the skill process to call

Returns:



458
459
460
# File 'docs/4_Systems_102_Party.rb', line 458

def call_skill_process
  @call_skill_process
end

#return_dataInteger

Return data of the Party Menu

Returns:

  • (Integer)


455
456
457
# File 'docs/4_Systems_102_Party.rb', line 455

def return_data
  @return_data
end

Instance Method Details

#party_selected?Boolean

Tell if a party was selected

Returns:

  • (Boolean)


465
466
# File 'docs/4_Systems_102_Party.rb', line 465

def party_selected?
end

#pokemon_selected?Boolean

Tell if a Pokemon was selected

Returns:

  • (Boolean)


461
462
# File 'docs/4_Systems_102_Party.rb', line 461

def pokemon_selected?
end

#selected_pokemonsArray<PFM::Pokemon>

Get all the selected Pokemon

Returns:



469
470
# File 'docs/4_Systems_102_Party.rb', line 469

def selected_pokemons
end