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, #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
317 318 |
# File 'docs/4_Systems_102_Party.rb', line 317 def initialize(, pokemon) end |
Instance Attribute Details
#learnable_skills ⇒ Array<PFM::Skill> (readonly)
Returns list of learnable moves.
313 314 315 |
# File 'docs/4_Systems_102_Party.rb', line 313 def learnable_skills @learnable_skills end |
#mode ⇒ Integer
Returns mode passed to the PFM::Pokemon#remindable_skills method.
311 312 313 |
# File 'docs/4_Systems_102_Party.rb', line 311 def mode @mode end |
Instance Method Details
#data=(pokemon)
Set the Pokemon shown
321 322 |
# File 'docs/4_Systems_102_Party.rb', line 321 def data=(pokemon) end |
#index=(index)
Set the index of the shown move
325 326 |
# File 'docs/4_Systems_102_Party.rb', line 325 def index=(index) end |
#update_graphics
Update the graphics
332 333 |
# File 'docs/4_Systems_102_Party.rb', line 332 def update_graphics end |
#update_skills(pokemon = @data)
Update the skills shown in the UI
329 330 |
# File 'docs/4_Systems_102_Party.rb', line 329 def update_skills(pokemon = @data) end |