Reference TSpaceHelper
Declared in Codebot.Physics.pas on line 1425
TSpaceHelper adds collision events to a space
TSpaceHelper = record helper for TSpace
public
{ Attach collision events to the handler for shapes of type A and B }
function AddCollisionEvents(A, B: TCollisionType; const Events: TCollisionEvents): TCollisionHandler;
{ Attach collision events to the handler for shapes of type A colliding with
anything }
function AddWildcardEvents(A: TCollisionType; const Events: TCollisionEvents): TCollisionHandler;
{ Attach collision events to the handler for collisions not handled by any
other handler }
function AddDefaultCollisionEvents(const Events: TCollisionEvents): TCollisionHandler;
end;