Class: UI::Summary_Skills
- Inherits:
-
SpriteStack
- Object
- SpriteStack
- UI::Summary_Skills
- Defined in:
- docs/4_Systems_102_Party.rb
Overview
UI part displaying the Skills of the Pokemon in the Summary
Direct Known Subclasses
Constant Summary
Constants inherited from SpriteStack
UI::SpriteStack::NO_INITIAL_IMAGE
Instance Attribute Summary collapse
-
#index ⇒ Integer
The index of the move.
-
#skills ⇒ Array<UI::Summary_Skill>
readonly
The skills.
Attributes inherited from SpriteStack
#animated, #data, #moving, #stack, #viewport, #x, #y
Instance Method Summary collapse
-
#data=(pokemon)
Set the data of the UI.
-
#initialize(viewport) ⇒ Summary_Skills
constructor
Create a new Skills UI for the summary.
-
#visible=(value)
Set the visibility of the UI.
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
208 209 |
# File 'docs/4_Systems_102_Party.rb', line 208 def initialize() end |
Instance Attribute Details
#index ⇒ Integer
Returns The index of the move.
203 204 205 |
# File 'docs/4_Systems_102_Party.rb', line 203 def index @index end |
#skills ⇒ Array<UI::Summary_Skill> (readonly)
Returns The skills.
205 206 207 |
# File 'docs/4_Systems_102_Party.rb', line 205 def skills @skills end |
Instance Method Details
#data=(pokemon)
Set the data of the UI
212 213 |
# File 'docs/4_Systems_102_Party.rb', line 212 def data=(pokemon) end |
#visible=(value)
Set the visibility of the UI
216 217 |
# File 'docs/4_Systems_102_Party.rb', line 216 def visible=(value) end |