Class: UI::Hall_of_Fame::Pokemon_Text_Box
- Inherits:
-
SpriteStack
- Object
- SpriteStack
- UI::Hall_of_Fame::Pokemon_Text_Box
- Defined in:
- docs/4_Systems_300_Hall_of_fame.rb
Overview
Class that define the Pokemon 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) ⇒ Pokemon_Text_Box
constructor
Initialize the SpriteStack.
-
#lvl_text_coordinates ⇒ Array<Integer>
The base coordinates of the level text.
-
#name_text_coordinates ⇒ Array<Integer>
The base coordinates of the name text.
-
#number_of_types ⇒ Integer
Check how many types the game has.
-
#spritesheet_coordinates ⇒ Array<Integer>
The SpriteStack initial coordinates.
-
#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) ⇒ Pokemon_Text_Box
Initialize the SpriteStack
121 122 |
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 121 def initialize(, pkm) end |
Instance Method Details
#bmp_filename ⇒ String
The base filename of the window
125 126 |
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 125 def bmp_filename end |
#lvl_text_coordinates ⇒ Array<Integer>
The base coordinates of the level text
133 134 |
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 133 def lvl_text_coordinates end |
#name_text_coordinates ⇒ Array<Integer>
The base coordinates of the name text
129 130 |
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 129 def name_text_coordinates end |
#number_of_types ⇒ Integer
Check how many types the game has
141 142 |
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 141 def number_of_types end |
#spritesheet_coordinates ⇒ Array<Integer>
The SpriteStack initial coordinates
145 146 |
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 145 def spritesheet_coordinates end |
#width ⇒ Integer
Get the width of the box
137 138 |
# File 'docs/4_Systems_300_Hall_of_fame.rb', line 137 def width end |