Class: UI::Hall_of_Fame::Graveyard_Animation_Stack

Inherits:
SpriteStack show all
Defined in:
docs/4_Systems_300_Hall_of_fame.rb

Overview

Class that define the Graveyard Animation stack

Constant Summary collapse

SPRITE_X_RIGHT =

Sprite X Right

422
SPRITE_X_MIDDLE =

Sprite X Middle

112
SPRITE_X_LEFT =

Sprite X Left

-198
# Sprite Y
SPRITE_Y =

Sprite Y

100
BOX_X_RIGHT =

Box X Right

320
BOX_X_MIDDLE =

Box X Middle

10
BOX_X_LEFT =

Box X Left

-300
# Box Y
BOX_Y =

Box Y

80

Constants inherited from SpriteStack

SpriteStack::NO_INITIAL_IMAGE

Instance Attribute Summary collapse

Attributes inherited from SpriteStack

#animated, #data, #moving, #stack, #viewport, #x, #y

Instance Method Summary collapse

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, #update_animation, #update_position, #visible, #visible=, #with_cache, #with_font, #with_surface, #z, #z=

Constructor Details

#initialize(viewport) ⇒ Graveyard_Animation_Stack

Initialize the SpriteStack

Parameters:



225
226
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 225

def initialize(viewport)
end

Instance Attribute Details

#spritesArray<ShaderedSprite>

The array containing every ShaderedSprite

Returns:



203
204
205
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 203

def sprites
  @sprites
end

#text_boxesArray<UI::Hall_of_Fame::Dead_Pokemon_Text>

The array containing every Dead_Pokemon_Text SpriteStack



206
207
208
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 206

def text_boxes
  @text_boxes
end