Class: BattleUI::TargetSelection
- Inherits:
-
UI::SpriteStack
- Object
- UI::SpriteStack
- BattleUI::TargetSelection
- Includes:
- TargetSelectionAbstraction
- Defined in:
- docs/5_Battle_01_Scene.rb
Overview
UI element responsive of letting the Player choose which creature to aim
Defined Under Namespace
Classes: Button
Constant Summary collapse
- SKIP_NO_CHOICE_SKILL =
Tell if moves with no choice should not show that UI
true
Constants inherited from UI::SpriteStack
UI::SpriteStack::NO_INITIAL_IMAGE
Instance Attribute Summary
Attributes included from TargetSelectionAbstraction
Attributes inherited from UI::SpriteStack
#animated, #data, #moving, #stack, #viewport, #x, #y
Class Method Summary collapse
-
.cannot_show?(move, pokemon, logic) ⇒ Boolean
Tell if the UI can be shown or not.
Instance Method Summary collapse
-
#initialize(viewport, launcher, move, logic) ⇒ TargetSelection
constructor
Create a new TargetSelection.
-
#update
Update the Window cursor.
Methods included from TargetSelectionAbstraction
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_animation, #update_position, #visible, #visible=, #with_cache, #with_font, #with_surface, #z, #z=
Constructor Details
#initialize(viewport, launcher, move, logic) ⇒ TargetSelection
Create a new TargetSelection
1541 1542 |
# File 'docs/5_Battle_01_Scene.rb', line 1541 def initialize(, launcher, move, logic) end |
Class Method Details
.cannot_show?(move, pokemon, logic) ⇒ Boolean
Tell if the UI can be shown or not
1575 1576 |
# File 'docs/5_Battle_01_Scene.rb', line 1575 def cannot_show?(move, pokemon, logic) end |
Instance Method Details
#update
Update the Window cursor
1544 1545 |
# File 'docs/5_Battle_01_Scene.rb', line 1544 def update end |