Class: UI::BlurScreenshot

Inherits:
ShaderedSprite show all
Defined in:
docs/01450_Systems_00000_General_00100_UI_Generics.rb

Overview

Class responsive of showing a blur screenshot in the current scene

Instance Attribute Summary

Attributes inherited from LiteRGSS::ShaderedSprite

#blendmode, #shader

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

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

#disposed?

Constructor Details

#initialize(viewport = nil, last_scene) ⇒ BlurScreenshot

Create a new blur Screenshot

Parameters:

  • viewport (Viewport, nil) (defaults to: nil)
  • last_scene (GamePlay::Base)

    base scene that should respond to #viewport



948
949
# File 'docs/01450_Systems_00000_General_00100_UI_Generics.rb', line 948

def initialize(viewport = nil, last_scene)
end

Instance Method Details

#dispose

Dispose the sprite



951
952
# File 'docs/01450_Systems_00000_General_00100_UI_Generics.rb', line 951

def dispose
end

#update_snapshot

Update the snapshot



954
955
# File 'docs/01450_Systems_00000_General_00100_UI_Generics.rb', line 954

def update_snapshot
end