Class: UI::VoltorbFlip::Texts
- Inherits:
-
SpriteStack
- Object
- SpriteStack
- UI::VoltorbFlip::Texts
- Defined in:
- docs/4_Systems_900_Games.rb
Overview
Object that show a text using a method of the data object sent
Constant Summary collapse
- COIN_CASE_FORMAT =
Format of the coin case text
'%07d'
- COIN_GAIN_FORMAT =
Format of the coin gain text
'%05d'
Constants inherited from SpriteStack
Instance Attribute Summary
Attributes inherited from SpriteStack
#animated, #data, #moving, #stack, #viewport, #x, #y
Instance Method Summary collapse
-
#coin_case=(value)
Set the coin case content value.
-
#coin_gain=(value)
Set the gain value.
-
#initialize(viewport) ⇒ Texts
constructor
Create a new VoltorbFlip text handler.
-
#level=(value)
Set the level value.
-
#title=(value)
Set the title.
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) ⇒ Texts
Create a new VoltorbFlip text handler
108 109 |
# File 'docs/4_Systems_900_Games.rb', line 108 def initialize() end |
Instance Method Details
#coin_case=(value)
Set the coin case content value
116 117 |
# File 'docs/4_Systems_900_Games.rb', line 116 def coin_case=(value) end |
#coin_gain=(value)
Set the gain value
120 121 |
# File 'docs/4_Systems_900_Games.rb', line 120 def coin_gain=(value) end |
#level=(value)
Set the level value
124 125 |
# File 'docs/4_Systems_900_Games.rb', line 124 def level=(value) end |
#title=(value)
Set the title
112 113 |
# File 'docs/4_Systems_900_Games.rb', line 112 def title=(value) end |