Class: UI::Shop::MoneyWindow
- Inherits:
-
UI::SpriteStack
- Object
- UI::SpriteStack
- UI::Shop::MoneyWindow
- Defined in:
- docs/4_Systems_203_Shop.rb
Overview
Window displaying the money amount
Constant Summary collapse
- COORD_X =
X coordinate of the money window
7
- COORD_Y =
Y coordinate of the money window
4
- BLACK_COLOR =
Black color
Color.new(0, 0, 0)
- WHITE_COLOR =
White color
Color.new(255, 255, 255)
Constants inherited from UI::SpriteStack
UI::SpriteStack::NO_INITIAL_IMAGE
Instance Attribute Summary
Attributes inherited from UI::SpriteStack
#animated, #data, #moving, #stack, #viewport, #x, #y
Instance Method Summary collapse
-
#initialize(viewport) ⇒ MoneyWindow
constructor
Initializing the money window graphics and texts.
-
#text=(text)
Update the money text.
Methods inherited from UI::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) ⇒ MoneyWindow
Initializing the money window graphics and texts
106 107 |
# File 'docs/4_Systems_203_Shop.rb', line 106 def initialize() end |
Instance Method Details
#text=(text)
Update the money text
110 111 |
# File 'docs/4_Systems_203_Shop.rb', line 110 def text=(text) end |