Class: UI::Summary_Skills

Inherits:
SpriteStack show all
Defined in:
docs/01450_Systems_00102_Party.rb

Overview

UI part displaying the Skills of the Pokemon in the Summary

Direct Known Subclasses

Summary_Remind

Constant Summary

Constants inherited from SpriteStack

UI::SpriteStack::NO_INITIAL_IMAGE

Instance Attribute Summary collapse

Attributes inherited from SpriteStack

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

Instance Method Summary collapse

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, #with_cache, #with_font, #with_surface, #z, #z=

Constructor Details

#initialize(viewport) ⇒ Summary_Skills

Create a new Skills UI for the summary

Parameters:



198
199
# File 'docs/01450_Systems_00102_Party.rb', line 198

def initialize(viewport)
end

Instance Attribute Details

#indexInteger

Returns The index of the move.

Returns:

  • (Integer)

    The index of the move



193
194
195
# File 'docs/01450_Systems_00102_Party.rb', line 193

def index
  @index
end

#skillsArray<UI::Summary_Skill> (readonly)

Returns The skills.

Returns:



195
196
197
# File 'docs/01450_Systems_00102_Party.rb', line 195

def skills
  @skills
end

Instance Method Details

#data=(pokemon)

Set the data of the UI

Parameters:



202
203
# File 'docs/01450_Systems_00102_Party.rb', line 202

def data=(pokemon)
end

#visible=(value)

Set the visibility of the UI

Parameters:

  • value (Boolean)

    new visibility



206
207
# File 'docs/01450_Systems_00102_Party.rb', line 206

def visible=(value)
end