Class: UI::Hall_of_Fame::Type_Background

Inherits:
SpriteStack show all
Defined in:
docs/01450_Systems_00300_Hall_of_fame.rb

Overview

The class that define the type background displayed during phase 1

Constant Summary

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) ⇒ Type_Background

Initialize the SpriteStack

Parameters:



44
45
# File 'docs/01450_Systems_00300_Hall_of_fame.rb', line 44

def initialize(viewport)
end

Instance Attribute Details

#type_backgroundsArray<Sprite>

The translucent backgrounds

Returns:



41
42
43
# File 'docs/01450_Systems_00300_Hall_of_fame.rb', line 41

def type_backgrounds
  @type_backgrounds
end

#type_foregroundsArray<Sprite>

The non-translucent backgrounds

Returns:



38
39
40
# File 'docs/01450_Systems_00300_Hall_of_fame.rb', line 38

def type_foregrounds
  @type_foregrounds
end