Class: UI::Summary_Remind
- Inherits:
-
Summary_Skills
- Object
- SpriteStack
- Summary_Skills
- UI::Summary_Remind
- Defined in:
- docs/4_Systems_102_Party.rb
Overview
UI displaying the Reminding move list
Constant Summary collapse
- MAX_MOVES =
Returns maximum number of moves shown in the screen.
5
Constants inherited from SpriteStack
UI::SpriteStack::NO_INITIAL_IMAGE
Instance Attribute Summary collapse
-
#learnable_skills ⇒ Array<PFM::Skill>
readonly
List of learnable moves.
-
#mode ⇒ Integer
Mode passed to the PFM::Pokemon#remindable_skills method.
Attributes inherited from Summary_Skills
Attributes inherited from SpriteStack
#animated, #data, #font_id, #moving, #stack, #viewport, #x, #y
Instance Method Summary collapse
-
#data=(pokemon)
Set the Pokemon shown.
-
#index=(index)
Set the index of the shown move.
-
#initialize(viewport, pokemon) ⇒ Summary_Remind
constructor
Create a new Summary_Remind UI for the summary.
-
#update_graphics
Update the graphics.
-
#update_skills(pokemon = @data)
Update the skills shown in the UI.
Methods inherited from Summary_Skills
Methods inherited from SpriteStack
#[], #add_background, #add_line, #add_text, #anime, #anime_delta_set, #dispose, #each, #execute_anime, #move, #move_to, #opacity, #opacity=, #push, #push_sprite, #set_origin, #set_position, #simple_mouse_in?, #size, #stop_animation, #translate_mouse_coords, #update, #update_animation, #update_position, #visible, #visible=, #with_cache, #with_font, #with_surface, #z, #z=
Constructor Details
#initialize(viewport, pokemon) ⇒ Summary_Remind
Create a new Summary_Remind UI for the summary
543 544 |
# File 'docs/4_Systems_102_Party.rb', line 543 def initialize(, pokemon) end |
Instance Attribute Details
#learnable_skills ⇒ Array<PFM::Skill> (readonly)
Returns list of learnable moves.
539 540 541 |
# File 'docs/4_Systems_102_Party.rb', line 539 def learnable_skills @learnable_skills end |
#mode ⇒ Integer
Returns mode passed to the PFM::Pokemon#remindable_skills method.
537 538 539 |
# File 'docs/4_Systems_102_Party.rb', line 537 def mode @mode end |
Instance Method Details
#data=(pokemon)
Set the Pokemon shown
547 548 |
# File 'docs/4_Systems_102_Party.rb', line 547 def data=(pokemon) end |
#index=(index)
Set the index of the shown move
551 552 |
# File 'docs/4_Systems_102_Party.rb', line 551 def index=(index) end |
#update_graphics
Update the graphics
558 559 |
# File 'docs/4_Systems_102_Party.rb', line 558 def update_graphics end |
#update_skills(pokemon = @data)
Update the skills shown in the UI
555 556 |
# File 'docs/4_Systems_102_Party.rb', line 555 def update_skills(pokemon = @data) end |