Class: BattleUI::SkillChoice::SpecialButton
- Inherits:
-
UI::SpriteStack
- Object
- UI::SpriteStack
- BattleUI::SkillChoice::SpecialButton
- Defined in:
- docs/5_Battle_01_Scene.rb
Overview
Element showing a special button
Constant Summary
Constants inherited from UI::SpriteStack
UI::SpriteStack::NO_INITIAL_IMAGE
Instance Attribute Summary
Attributes inherited from UI::SpriteStack
#animated, #data, #moving, #stack, #viewport, #x, #y
Instance Method Summary collapse
-
#data=(pokemon)
Set the data of the button.
-
#initialize(viewport, scene, type) ⇒ SpecialButton
constructor
Create a new special button.
-
#refresh(mega = false)
Update the special button content.
-
#visible=(visible)
Set the visibility of the button.
Methods inherited from UI::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, scene, type) ⇒ SpecialButton
Create a new special button
1472 1473 |
# File 'docs/5_Battle_01_Scene.rb', line 1472 def initialize(, scene, type) end |
Instance Method Details
#data=(pokemon)
Set the data of the button
1476 1477 |
# File 'docs/5_Battle_01_Scene.rb', line 1476 def data=(pokemon) end |
#refresh(mega = false)
Update the special button content
1480 1481 |
# File 'docs/5_Battle_01_Scene.rb', line 1480 def refresh(mega = false) end |
#visible=(visible)
Set the visibility of the button
1484 1485 |
# File 'docs/5_Battle_01_Scene.rb', line 1484 def visible=(visible) end |