Execution priority of this listener relative to other listeners for the same event and objects. The direction depends on the listener type (inherited from Haxe nape):
BodyListener / ConstraintListener: higher values run first;
on a tie the listener added last runs first.InteractionListener / PreListener: lower values run first; on a
tie the listener added first runs first. When several PreListeners
return a flag for the same pair the last one called wins — so the
highest precedence has the final say.The type of this listener (BODY, CONSTRAINT, INTERACTION, or PRE).
Base class for all physics event listeners.
Cannot be instantiated directly — use one of the concrete subclasses: BodyListener, ConstraintListener, InteractionListener, or PreListener.
Provides common properties (
type,event,precedence,space) shared by all listener types.