Class: BattleUI::SkillChoice::SubChoice

Inherits:
UI::SpriteStack show all
Defined in:
docs/5_Battle_01_Scene.rb

Overview

UI element showing the sub_choice and interacting with the parent choice

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

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, scene, choice) ⇒ SubChoice

Create the sub choice

Parameters:



1496
1497
# File 'docs/5_Battle_01_Scene.rb', line 1496

def initialize(viewport, scene, choice)
end

Instance Method Details

#done?Boolean

Tell if the choice is done

Returns:

  • (Boolean)


1502
1503
# File 'docs/5_Battle_01_Scene.rb', line 1502

def done?
end

#reset

Reset the sub choice



1505
1506
# File 'docs/5_Battle_01_Scene.rb', line 1505

def reset
end

#update

Update the button



1499
1500
# File 'docs/5_Battle_01_Scene.rb', line 1499

def update
end