Class: UI::MiningGame::Background
- Inherits:
-
Sprite
- Object
- LiteRGSS::Disposable
- LiteRGSS::Drawable
- LiteRGSS::Sprite
- LiteRGSS::ShaderedSprite
- Sprite
- UI::MiningGame::Background
- Defined in:
- scripts/01450 Systems/08001 Mining Game/00030 UI_Mining_Game/00001 Background.rb
Overview
Class that describes the Background of the Mining Game
Instance Attribute Summary
Attributes inherited from LiteRGSS::ShaderedSprite
Attributes inherited from LiteRGSS::Sprite
#__index__, #angle, #bitmap, #height, #mirror, #opacity, #ox, #oy, #src_rect, #viewport, #visible, #width, #x, #y, #z, #zoom, #zoom_x, #zoom_y
Instance Method Summary collapse
-
#initialize(viewport) ⇒ Background
constructor
Create the background.
Methods inherited from Sprite
#load, #mouse_in?, #set_origin_div, #set_rect, #set_rect_div, #set_z, #simple_mouse_in?, #translate_mouse_coords, #update
Methods inherited from LiteRGSS::Sprite
new, #set_origin, #set_position
Methods inherited from LiteRGSS::Disposable
Constructor Details
#initialize(viewport) ⇒ Background
Create the background
7 8 9 10 11 |
# File 'scripts/01450 Systems/08001 Mining Game/00030 UI_Mining_Game/00001 Background.rb', line 7 def initialize() super() set_position(0, 0) set_bitmap(background_filename, :interface) end |