Class: UI::BlurScreenshot

Inherits:
ShaderedSprite show all
Defined in:
docs/4_Systems_000_General_4_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



1005
1006
# File 'docs/4_Systems_000_General_4_UI_Generics.rb', line 1005

def initialize(viewport = nil, last_scene)
end

Instance Method Details

#dispose

Dispose the sprite



1008
1009
# File 'docs/4_Systems_000_General_4_UI_Generics.rb', line 1008

def dispose
end

#update_snapshot

Update the snapshot



1011
1012
# File 'docs/4_Systems_000_General_4_UI_Generics.rb', line 1011

def update_snapshot
end