A screen automatically called in the event of an error.
new(errorCode:String, errorStep:String, inScene:RgScene)
errorCode:String
errorStep:String
inScene:RgScene
assetQueue:Array<RgAsset>
Current registered assets. only directly modify this if you know what you're doing, use register and unregister instead.
register
unregister
draw():Void
Runs every frame, calls draw on every asset by default.
draw
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
Runs upon scene-switch. used to unload and free all the remaining resources.
finalunregister(asset:RgAsset):Void
Used to remove assets from the asset-queue. Automatically calls unload.
unload
the asset to remove.