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, #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:



317
318
# File 'docs/4_Systems_102_Party.rb', line 317

def initialize(viewport, pokemon)
end

Instance Attribute Details

#learnable_skillsArray<PFM::Skill> (readonly)

Returns list of learnable moves.

Returns:



313
314
315
# File 'docs/4_Systems_102_Party.rb', line 313

def learnable_skills
  @learnable_skills
end

#modeInteger

Returns mode passed to the PFM::Pokemon#remindable_skills method.

Returns:



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

Parameters:



321
322
# File 'docs/4_Systems_102_Party.rb', line 321

def data=(pokemon)
end

#index=(index)

Set the index of the shown move

Parameters:

  • index (Integer)


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

Parameters:



329
330
# File 'docs/4_Systems_102_Party.rb', line 329

def update_skills(pokemon = @data)
end