Class: BattleUI::PlayerChoiceSafari::SubChoiceSafari
- Inherits:
-
BattleUI::PlayerChoice::SubChoice
- Object
- UI::SpriteStack
- BattleUI::PlayerChoice::SubChoice
- BattleUI::PlayerChoiceSafari::SubChoiceSafari
- Defined in:
- docs/5_Battle_01_Scene.rb
Overview
UI element showing the sub_choice and interacting with the parent choice, modified for Safari battles
Constant Summary
Constants inherited from UI::SpriteStack
UI::SpriteStack::NO_INITIAL_IMAGE
Instance Attribute Summary
Attributes inherited from UI::SpriteStack
#animated, #data, #font_id, #moving, #stack, #viewport, #x, #y
Instance Method Summary collapse
Methods inherited from BattleUI::PlayerChoice::SubChoice
#done?, #initialize, #reset, #update
Methods inherited from UI::SpriteStack
#[], #add_background, #add_line, #add_text, #anime, #anime_delta_set, #dispose, #each, #execute_anime, #initialize, #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
This class inherits a constructor from BattleUI::PlayerChoice::SubChoice
Instance Method Details
#action_x
Action triggered when pressing X
1664 1665 |
# File 'docs/5_Battle_01_Scene.rb', line 1664 def action_x end |
#action_y
Action triggered when pressing Y
1661 1662 |
# File 'docs/5_Battle_01_Scene.rb', line 1661 def action_y end |