Class: BattleUI::TrainerPartyBalls::BallSprite
- Inherits:
-
Sprite
- Object
- LiteRGSS::Disposable
- LiteRGSS::Drawable
- LiteRGSS::Sprite
- LiteRGSS::ShaderedSprite
- Sprite
- BattleUI::TrainerPartyBalls::BallSprite
- Defined in:
- docs/5_Battle_01_Scene.rb
Overview
Class showing a ball in the TrainerPartyBalls UI
Instance Attribute Summary
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
-
#data=(party)
Update the data.
-
#image_filename(pokemon)
Get the filename of the image to show as ball sprite.
-
#initialize(viewport, index) ⇒ BallSprite
constructor
Create a new ball.
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) ⇒ BallSprite
Create a new ball
927 928 |
# File 'docs/5_Battle_01_Scene.rb', line 927 def initialize(, index) end |
Instance Method Details
#data=(party)
Update the data
931 932 |
# File 'docs/5_Battle_01_Scene.rb', line 931 def data=(party) end |
#image_filename(pokemon)
Get the filename of the image to show as ball sprite
935 936 |
# File 'docs/5_Battle_01_Scene.rb', line 935 def image_filename(pokemon) end |