Class: UI::Hall_of_Fame::Congratulation_Text_Box
- Inherits:
-
SpriteStack
- Object
- SpriteStack
- UI::Hall_of_Fame::Congratulation_Text_Box
- Defined in:
- docs/4_Systems_300_Hall_of_fame.rb
Overview
Class that define the Congratulation text box stack
Constant Summary collapse
Constants inherited from SpriteStack
Instance Attribute Summary
Attributes inherited from SpriteStack
#animated, #data, #moving, #stack, #viewport, #x, #y
Instance Method Summary collapse
-
#bmp_filename ⇒ String
The base filename of the window.
-
#initialize(viewport, pkm) ⇒ Congratulation_Text_Box
constructor
Initialize the SpriteStack.
-
#number_of_types ⇒ Integer
Check how many types the game has.
-
#spritesheet_coordinates ⇒ Array<Integer>
The SpriteStack initial coordinates.
-
#text_coordinates ⇒ Array<Integer>
The base coordinates of the text.
-
#width ⇒ Integer
Get the width of the box.
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, pkm) ⇒ Congratulation_Text_Box
Initialize the SpriteStack
155 156 |
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 155 def initialize(, pkm) end |
Instance Method Details
#bmp_filename ⇒ String
The base filename of the window
159 160 |
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 159 def bmp_filename end |
#number_of_types ⇒ Integer
Check how many types the game has
167 168 |
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 167 def number_of_types end |
#spritesheet_coordinates ⇒ Array<Integer>
The SpriteStack initial coordinates
175 176 |
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 175 def spritesheet_coordinates end |
#text_coordinates ⇒ Array<Integer>
The base coordinates of the text
163 164 |
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 163 def text_coordinates end |
#width ⇒ Integer
Get the width of the box
171 172 |
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 171 def width end |