Class: UI::ContestSkillChoice::ContestSubChoice
- Inherits:
-
SpriteStack
- Object
- SpriteStack
- UI::ContestSkillChoice::ContestSubChoice
- Defined in:
- docs/6_Contest_01_Scene.rb
Overview
UI element showing the sub_choice and interacting with the parent choice
Constant Summary
Constants inherited from SpriteStack
Instance Attribute Summary
Attributes inherited from SpriteStack
#animated, #data, #font_id, #moving, #stack, #viewport, #x, #y
Instance Method Summary collapse
-
#done? ⇒ Boolean
Tell if the choice is done.
-
#initialize(viewport, scene, choice) ⇒ ContestSubChoice
constructor
Create the sub choice.
-
#reset
Reset the sub choice.
-
#update
Update the button.
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_animation, #update_position, #visible, #visible=, #with_cache, #with_font, #with_surface, #z, #z=
Constructor Details
#initialize(viewport, scene, choice) ⇒ ContestSubChoice
Create the sub choice
308 309 |
# File 'docs/6_Contest_01_Scene.rb', line 308 def initialize(, scene, choice) end |
Instance Method Details
#done? ⇒ Boolean
Tell if the choice is done
314 315 |
# File 'docs/6_Contest_01_Scene.rb', line 314 def done? end |
#reset
Reset the sub choice
317 318 |
# File 'docs/6_Contest_01_Scene.rb', line 317 def reset end |
#update
Update the button
311 312 |
# File 'docs/6_Contest_01_Scene.rb', line 311 def update end |