Class: BattleUI::PlayerChoice::Button
- Inherits:
-
SpriteSheet
- Object
- LiteRGSS::Disposable
- LiteRGSS::Drawable
- LiteRGSS::Sprite
- LiteRGSS::ShaderedSprite
- Sprite
- ShaderedSprite
- SpriteSheet
- BattleUI::PlayerChoice::Button
- Defined in:
- docs/5_Battle_01_Scene.rb
Overview
Button of the player choice
Instance Attribute Summary
Attributes inherited from SpriteSheet
Attributes inherited from LiteRGSS::ShaderedSprite
Attributes inherited from LiteRGSS::Sprite
#__index__, #angle, #bitmap, #height, #mirror, #opacity, #ox, #oy, #src_rect, #viewport, #visible, #width, #x, #y, #z, #zoom, #zoom_x, #zoom_y
Instance Method Summary collapse
-
#image_filename ⇒ String
Get the filename of the sprite.
-
#initialize(viewport, index) ⇒ Button
constructor
Create a new Player Choice button.
Methods inherited from SpriteSheet
Methods inherited from Sprite
#load, #mouse_in?, #set_origin_div, #set_rect, #set_rect_div, #set_z, #simple_mouse_in?, #translate_mouse_coords, #update
Methods inherited from LiteRGSS::Sprite
new, #set_origin, #set_position
Methods inherited from LiteRGSS::Disposable
Constructor Details
#initialize(viewport, index) ⇒ Button
Create a new Player Choice button
1274 1275 |
# File 'docs/5_Battle_01_Scene.rb', line 1274 def initialize(, index) end |
Instance Method Details
#image_filename ⇒ String
Get the filename of the sprite
1280 1281 |
# File 'docs/5_Battle_01_Scene.rb', line 1280 def image_filename end |