Class: UI::ContestSkillChoice::ContestSpecialButton

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

Overview

Element showing a special button

Constant Summary

Constants inherited from SpriteStack

SpriteStack::NO_INITIAL_IMAGE

Instance Attribute Summary

Attributes inherited from SpriteStack

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

Instance Method Summary collapse

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) ⇒ ContestSpecialButton

Create a new special button

Parameters:



291
292
# File 'docs/6_Contest_01_Scene.rb', line 291

def initialize(viewport, scene)
end

Instance Method Details

#data=(creature)

Set the data of the button

Parameters:



295
296
# File 'docs/6_Contest_01_Scene.rb', line 295

def data=(creature)
end