Checks if Sprite collides a specified Shape
Shape to check
true only if provided Rectangle collides the Sprite
Checks if a point is within the bounds (inclusive) of a Sprite
Point to check
true only if Point is inside current Sprite area
Checks if a point is within the bounds (inclusive) of a Sprite
Abscissa
Ordinate
true only if Point is inside current Sprite area
Gets current index
index of sprite
Returns the shape used to define this sprite
underlying shape
Gets abscissa of sprite
Upper-left corner abscissa of sprite
Gets ordinate of sprite
upper-left corner ordinate of sprite
moves sprite to relative position
Added to current abscissa
Added to current ordinate
moves sprite to relative position
Added to current position
Moves sprite to absolute position
New abscissa
New ordinate
Moves sprite to absolute position
New position
Renders the sprite. Called each frame for each sprite, in the index order
Rendering context
Set new index value. Whenever this method is called, engine must be informed
engine.forceHierarchyUpdate()
new index value.
Generated using TypeDoc
Mandatory interface for sprites