Class: UI::MiningGame::Diggable_Stack
- Inherits:
-
SpriteStack
- Object
- SpriteStack
- UI::MiningGame::Diggable_Stack
- Defined in:
- docs/4_Systems_801_Mining_Game.rb
Overview
Class that describes the Diggable_Stack
Constant Summary
Constants inherited from SpriteStack
Instance Attribute Summary collapse
-
#iron_arr ⇒ Array<UI::MiningGame::Diggable_Sprite] the array containing every irons' sprite
Array<UI::MiningGame::Diggable_Sprite] the array containing every irons’ sprite.
-
#item_arr ⇒ Array<UI::MiningGame::Diggable_Sprite] the array containing every items' sprite
Array<UI::MiningGame::Diggable_Sprite] the array containing every items’ sprite.
Attributes inherited from SpriteStack
#animated, #data, #moving, #stack, #viewport, #x, #y
Instance Method Summary collapse
-
#initialize(viewport, item_arr, iron_arr) ⇒ Diggable_Stack
constructor
Create the Diggable_Stack.
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, item_arr, iron_arr) ⇒ Diggable_Stack
Create the Diggable_Stack
407 408 |
# File 'docs/4_Systems_801_Mining_Game.rb', line 407 def initialize(, item_arr, iron_arr) end |
Instance Attribute Details
#iron_arr ⇒ Array<UI::MiningGame::Diggable_Sprite] the array containing every irons' sprite
Returns Array<UI::MiningGame::Diggable_Sprite] the array containing every irons’ sprite.
402 403 404 |
# File 'docs/4_Systems_801_Mining_Game.rb', line 402 def iron_arr @iron_arr end |
#item_arr ⇒ Array<UI::MiningGame::Diggable_Sprite] the array containing every items' sprite
Returns Array<UI::MiningGame::Diggable_Sprite] the array containing every items’ sprite.
400 401 402 |
# File 'docs/4_Systems_801_Mining_Game.rb', line 400 def item_arr @item_arr end |