- type
- class
- extends
- Listener
Event listener for Pre-Interaction type events.
Pre-Interaction type events can occur between any two Interactors (whether they be Shapes, Bodys, Compounds or a mix thereof).
Pre-Interaction type events can occur between any two Interactors (whether they be Shapes, Bodys, Compounds or a mix thereof).
Constructor
function
new(interactionType:InteractionType, options1:Null<Dynamic>, options2:Null<Dynamic>, handler:PreCallback -> Null<PreFlag>, precedence:Int = 0, pure:Bool = false)

Instance Properties hide inherited show inherited
var event : CbEvent
inherited from nape.callbacks.Listener
The CbEvent this listener responds to.
var handler : PreCallback -> Null<PreFlag>
var interactionType : InteractionType
var options1 : OptionType
The OptionType used to match against Interactors for the first object.
var options2 : OptionType
The OptionType used to match against Interactors for the second object.
var precedence : Int = 0
inherited from nape.callbacks.Listener
var space : Null<nape.space.Space> = null
inherited from nape.callbacks.Listener
readonly var type : ListenerType
inherited from nape.callbacks.Listener
The sub-type of this listener.