TileCollisionEvent

Contains information about an object to TileLayer collision event. Custom Bitmap shapes won't be used.

Members

Structs

CollisionContext
struct CollisionContext

Defines individual tile collisions.

Variables

a
CollisionShape a;

Source object

bottomEdge
CollisionContext[] bottomEdge;

Bottom edge collisions if any

contextID
int contextID;

The context of the collision (e.g. layer number)

leftEdge
CollisionContext[] leftEdge;

Left edge collisions if any

overlap
CollisionContext[] overlap;

All overlapping collisions

rightEdge
CollisionContext[] rightEdge;

Right edge collisions if any

topEdge
CollisionContext[] topEdge;

Top edge collisions if any

Meta