Class: UI::MoveTeaching::NewSkill
- Inherits:
-
SpriteStack
- Object
- SpriteStack
- UI::MoveTeaching::NewSkill
- Defined in:
- docs/4_Systems_301_MoveTeaching.rb
Overview
UI part displaying the new skill informations in the Skill Learn scene
Constant Summary
Constants inherited from SpriteStack
Instance Attribute Summary collapse
-
#selected ⇒ Boolean
If the move is currently selected.
Attributes inherited from SpriteStack
#animated, #data, #moving, #stack, #viewport, #x, #y
Instance Method Summary collapse
-
#data=(skill)
Set the skill data.
-
#initialize(viewport, index) ⇒ NewSkill
constructor
Create informations of the new skill to learn.
-
#visible ⇒ Boolean
Get the visibility of the sprite.
-
#visible=(value)
Set the visibility of the sprite.
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, #with_cache, #with_font, #with_surface, #z, #z=
Constructor Details
#initialize(viewport, index) ⇒ NewSkill
Create informations of the new skill to learn
86 87 |
# File 'docs/4_Systems_301_MoveTeaching.rb', line 86 def initialize(, index) end |
Instance Attribute Details
#selected ⇒ Boolean
Returns if the move is currently selected.
82 83 84 |
# File 'docs/4_Systems_301_MoveTeaching.rb', line 82 def selected @selected end |
Instance Method Details
#data=(skill)
Set the skill data
90 91 |
# File 'docs/4_Systems_301_MoveTeaching.rb', line 90 def data=(skill) end |
#visible ⇒ Boolean
Get the visibility of the sprite
98 99 |
# File 'docs/4_Systems_301_MoveTeaching.rb', line 98 def visible end |
#visible=(value)
Set the visibility of the sprite
94 95 |
# File 'docs/4_Systems_301_MoveTeaching.rb', line 94 def visible=(value) end |