Class: UI::Hall_of_Fame::Pokemon_Stars_Animation
- Inherits:
-
SpriteStack
- Object
- SpriteStack
- UI::Hall_of_Fame::Pokemon_Stars_Animation
- Defined in:
- docs/4_Systems_300_Hall_of_fame.rb
Overview
Class that define the Pokemon Stars animation
Constant Summary collapse
- X_ARRAY =
All the X coordinate for the stars around Creature
[67, 16, 90, 40, 65, 30]
- Y_ARRAY =
All the Y coordinate for the stars around Creature
[20, 32, 90, 54, 48, 90]
Constants inherited from SpriteStack
Instance Attribute Summary
Attributes inherited from SpriteStack
#animated, #data, #moving, #stack, #viewport, #x, #y
Instance Method Summary collapse
-
#initialize(viewport) ⇒ Pokemon_Stars_Animation
constructor
Initialize the SpriteStack.
-
#reset
Reset the star animation to replay it when needed.
-
#spritestack_coordinates ⇒ Array<Integer>
The SpriteStack initial coordinates.
-
#update
Update each star animation.
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_animation, #update_position, #visible, #visible=, #with_cache, #with_font, #with_surface, #z, #z=
Constructor Details
#initialize(viewport) ⇒ Pokemon_Stars_Animation
Initialize the SpriteStack
186 187 |
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 186 def initialize() end |
Instance Method Details
#reset
Reset the star animation to replay it when needed
196 197 |
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 196 def reset end |
#spritestack_coordinates ⇒ Array<Integer>
The SpriteStack initial coordinates
190 191 |
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 190 def spritestack_coordinates end |
#update
Update each star animation
193 194 |
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 193 def update end |