Class: Sprite_Picture
- Inherits:
-
ShaderedSprite
- Object
- LiteRGSS::Disposable
- LiteRGSS::Drawable
- LiteRGSS::Sprite
- LiteRGSS::ShaderedSprite
- Sprite
- ShaderedSprite
- Sprite_Picture
- Defined in:
- docs/4_Systems_003_Map_Engine.rb
Overview
A sprite that show a Game_Picture on the screen
Instance Attribute Summary collapse
-
#gif_loop_disabled ⇒ Boolean
Tell if the loop of the gif is disabled or not.
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
-
#dispose
Dispose the picture.
-
#gif_done? ⇒ Boolean
Tell if the gif animation is done.
-
#initialize(viewport, picture) ⇒ Sprite_Picture
constructor
Initialize a new Sprite_Picture.
-
#update
Update the picture sprite display with the information of the current Game_Picture.
Methods inherited from Sprite
#load, #mouse_in?, #set_origin_div, #set_rect, #set_rect_div, #set_z, #simple_mouse_in?, #translate_mouse_coords
Methods inherited from LiteRGSS::Sprite
new, #set_origin, #set_position
Methods inherited from LiteRGSS::Disposable
Constructor Details
#initialize(viewport, picture) ⇒ Sprite_Picture
Initialize a new Sprite_Picture
403 404 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 403 def initialize(, picture) end |
Instance Attribute Details
#gif_loop_disabled ⇒ Boolean
Tell if the loop of the gif is disabled or not
399 400 401 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 399 def gif_loop_disabled @gif_loop_disabled end |
Instance Method Details
#dispose
Dispose the picture
406 407 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 406 def dispose end |
#gif_done? ⇒ Boolean
Tell if the gif animation is done
413 414 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 413 def gif_done? end |
#update
Update the picture sprite display with the information of the current Game_Picture
409 410 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 409 def update end |