A screen automatically called in the event of an error.

Constructor

new(errorCode:String, errorStep:String, inScene:RgScene)

Variables

Methods

Inherited Variables

Defined by RgScene

assetQueue:Array<RgAsset>

Current registered assets. only directly modify this if you know what you're doing, use register and unregister instead.

Inherited Methods

Defined by RgScene

draw():Void

Runs every frame, calls draw on every asset by default.

finalregister(asset:RgAsset):Void

CANNOT BE OVERRIDEN!

Used to add assets to the asset-queue

Parameters:

asset

The asset you want to add.

finalunload():Void

CANNOT BE OVERRIDEN!

Runs upon scene-switch. used to unload and free all the remaining resources.

finalunregister(asset:RgAsset):Void

CANNOT BE OVERRIDEN!

Used to remove assets from the asset-queue. Automatically calls unload.

Parameters:

asset

the asset to remove.