Class: UI::ContestSkillChoice

Inherits:
BattleUI::SkillChoice show all
Defined in:
docs/6_Contest_01_Scene.rb

Overview

Class that allows to choose the skill of a Creature during a contest

Defined Under Namespace

Classes: ContestMoveButton, ContestMoveDescription, ContestSpecialButton, ContestSubChoice

Constant Summary

Constants inherited from BattleUI::SkillChoice

BattleUI::SkillChoice::BUTTON_COORDINATE

Constants inherited from BattleUI::GenericChoice

BattleUI::GenericChoice::CURSOR_OFFSET_X, BattleUI::GenericChoice::CURSOR_OFFSET_Y

Constants inherited from SpriteStack

SpriteStack::NO_INITIAL_IMAGE

Instance Attribute Summary

Attributes included from BattleUI::SkillChoiceAbstraction

#index, #mega_enabled, #pokemon, #result

Attributes inherited from BattleUI::GenericChoice

#animation_handler, #scene

Attributes inherited from SpriteStack

#animated, #data, #font_id, #moving, #stack, #viewport, #x, #y

Instance Method Summary collapse

Methods included from BattleUI::SkillChoiceAbstraction

#encore_reset, #validated?

Methods inherited from BattleUI::GenericChoice

#done?, #update

Methods included from BattleUI::GoingInOut

#animation_handler, #go_in, #go_out, #in?, #out?

Methods included from BattleUI::HideShow

#animation_handler, #hide, #show

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, #update_animation, #update_position, #visible, #visible=, #with_cache, #with_font, #with_surface, #z, #z=

Constructor Details

#initialize(viewport, scene, creature) ⇒ ContestSkillChoice

Create a new ContestSkillChoice UI

Parameters:



213
214
# File 'docs/6_Contest_01_Scene.rb', line 213

def initialize(viewport, scene, creature)
end

Instance Method Details

#reset

Reset the Skill choice



216
217
# File 'docs/6_Contest_01_Scene.rb', line 216

def reset
end