Basic object with X, Y, W, and H values.

Constructor

new(x:Int, y:Int, w:Int, h:Int)

Variables

pos:Rect

Position and scaling of the object.

Inherited Variables

Inherited Methods

Defined by RgAsset

draw():Void

Called every frame during the drawing step.

unload():Void

Called upon scene-switch or deregistration.

update():Void

Called every frame.