Class: UI::VoltorbFlip::BoardCounter
- Inherits:
-
SpriteStack
- Object
- SpriteStack
- UI::VoltorbFlip::BoardCounter
- Defined in:
- docs/4_Systems_900_Games.rb
Overview
Board counter sprite
Constant Summary
Constants inherited from SpriteStack
Instance Attribute Summary
Attributes inherited from SpriteStack
#animated, #data, #moving, #stack, #viewport, #x, #y
Instance Method Summary collapse
-
#add_tile(tile)
Add a tile.
-
#initialize(viewport, index, column) ⇒ BoardCounter
constructor
Create a new board counter.
-
#update_display
Update the counter display according to the tile values.
-
#voltorb_count ⇒ Integer
Return the count of voltorb.
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, index, column) ⇒ BoardCounter
Create a new board counter
239 240 |
# File 'docs/4_Systems_900_Games.rb', line 239 def initialize(, index, column) end |
Instance Method Details
#add_tile(tile)
Add a tile
247 248 |
# File 'docs/4_Systems_900_Games.rb', line 247 def add_tile(tile) end |
#update_display
Update the counter display according to the tile values
250 251 |
# File 'docs/4_Systems_900_Games.rb', line 250 def update_display end |
#voltorb_count ⇒ Integer
Return the count of voltorb
243 244 |
# File 'docs/4_Systems_900_Games.rb', line 243 def voltorb_count end |