Class: UI::RetrieveBurst
- Inherits:
-
SpriteSheet
- Object
- LiteRGSS::Disposable
- LiteRGSS::Drawable
- LiteRGSS::Sprite
- LiteRGSS::ShaderedSprite
- Sprite
- ShaderedSprite
- SpriteSheet
- UI::RetrieveBurst
- Defined in:
- docs/5_Battle_02_Visual.rb
Overview
Class that describes the Retrieve Burst animation used when a Ball retrieves a Creature
Constant Summary collapse
- COLUMNS =
Constant defining the number of columns in the spritesheet
8- ROWS =
Constant defining the number of rows in the spritesheet
7- MAX_INDEX =
Constant defining the maximum index in the spritesheet
COLUMNS * ROWS - 1
- BURST_FILENAME =
Filename of the Spritesheet used
'ball-retreat'
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
-
#ball_z_position(pokemon) ⇒ Integer
Return the z position for correct perspective ordering in multi-Pokemon battles.
-
#initialize(viewport, pokemon, scene) ⇒ RetrieveBurst
constructor
Create a new RetrieveBurst.
-
#retrieve_progression=(progression)
Function that adjust the bitmap depending of the "catch" animation.
-
#shader_z_position
Return the basic z position of the sprite shader.
-
#z=(z)
Set the z position of the sprite.
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
Methods inherited from LiteRGSS::Disposable
Constructor Details
#initialize(viewport, pokemon, scene) ⇒ RetrieveBurst
Create a new RetrieveBurst
2655 2656 |
# File 'docs/5_Battle_02_Visual.rb', line 2655 def initialize(, pokemon, scene) end |
Instance Method Details
#ball_z_position(pokemon) ⇒ Integer
Return the z position for correct perspective ordering in multi-Pokemon battles
2667 2668 |
# File 'docs/5_Battle_02_Visual.rb', line 2667 def ball_z_position(pokemon) end |
#retrieve_progression=(progression)
Function that adjust the bitmap depending of the "catch" animation
2671 2672 |
# File 'docs/5_Battle_02_Visual.rb', line 2671 def retrieve_progression=(progression) end |
#shader_z_position
Return the basic z position of the sprite shader
2662 2663 |
# File 'docs/5_Battle_02_Visual.rb', line 2662 def shader_z_position end |
#z=(z)
Set the z position of the sprite
2659 2660 |
# File 'docs/5_Battle_02_Visual.rb', line 2659 def z=(z) end |