Class: GTS::Button
- Inherits:
-
UI::SpriteStack
- Object
- UI::SpriteStack
- GTS::Button
- Defined in:
- docs/4_Systems_901_GTS.rb
Overview
GTS Button, A Basic options button for our GTS System
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
-
#initialize(viewport, x, y, name = '') ⇒ Button
constructor
A new instance of Button.
-
#width ⇒ Integer
Width of the button.
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, #update_animation, #update_position, #visible, #visible=, #with_cache, #with_font, #with_surface, #z, #z=
Constructor Details
#initialize(viewport, x, y, name = '') ⇒ Button
Returns a new instance of Button.
55 56 |
# File 'docs/4_Systems_901_GTS.rb', line 55 def initialize(, x, y, name = '') end |
Instance Method Details
#width ⇒ Integer
Width of the button
59 60 |
# File 'docs/4_Systems_901_GTS.rb', line 59 def width end |