Class: UI::Summary_Remind

Inherits:
Summary_Skills show all
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.

Returns:

  • (Integer) —

    maximum number of moves shown in the screen

5

Constants inherited from SpriteStack

UI::SpriteStack::NO_INITIAL_IMAGE

Instance Attribute Summary collapse

Attributes inherited from Summary_Skills

#index, #skills

Attributes inherited from SpriteStack

#animated, #data, #font_id, #moving, #stack, #viewport, #x, #y

Instance Method Summary collapse

Methods inherited from Summary_Skills

#visible=

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

Parameters:



543
544
# File 'docs/4_Systems_102_Party.rb', line 543

def initialize(viewport, pokemon)
end

Instance Attribute Details

#learnable_skills ⇒ Array<PFM::Skill> (readonly)

Returns list of learnable moves.

Returns:



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.

Returns:



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

Parameters:



547
548
# File 'docs/4_Systems_102_Party.rb', line 547

def data=(pokemon)
end

#index=(index)

Set the index of the shown move

Parameters:

  • index (Integer)


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

Parameters:



555
556
# File 'docs/4_Systems_102_Party.rb', line 555

def update_skills(pokemon = @data)
end