nape.callbacks
.. | |
---|---|
BodyCallback | Callback object for Body type events.
|
BodyListener | Event listener for Body type events.
|
Callback | Base type for Callback event objects.
|
CbEvent | Enumeration of possible callback event types. |
CbType | Callback Type applied to Interactors and Constraints.
|
CbTypeIterator | Haxe Iterator |
CbTypeList | Nape list of CbType type objects
list.foreach(function (obj) { });This method is inlined so that in haxe no closure will need to be created. In AS3, a closure would need to be created in general, so for performance reasons you 'may' choose to use iteration as follows: for (var i:int = 0; i < list.length; i++) { |
ConstraintCallback | Callback object for Constraint type events.
|
ConstraintListener | Event listener for Constraint type events.
|
InteractionCallback | Callback object for Interaction type events.
|
InteractionListener | Event listener for Interaction type events.
|
InteractionType | Enumeration of Interaction types. |
Listener | Base type for all Nape callback listeners. |
ListenerIterator | Haxe Iterator |
ListenerList | Nape list of Listener type objects
list.foreach(function (obj) { });This method is inlined so that in haxe no closure will need to be created. In AS3, a closure would need to be created in general, so for performance reasons you 'may' choose to use iteration as follows: for (var i:int = 0; i < list.length; i++) { |
ListenerType | Enumeration of Listener types. |
OptionType | OptionType representing matching behaviour for Listeners.
option = new OptionType([A, B], [C, D]); obj.cbTypes = [] // => does not match option. obj.cbTypes = [A] // => matches the option obj.cbTypes = [A, C] // => does not match option.The optionType's includes and excludes list are managed to be always disjoint: The action of including an already excluded type serves to remove it from the excludes list, equalliy excluding an already included type serves to remove it from the includes list. var option = new OptionType(); option.including(A); // option = {[A]:[]} option.excluding(A); // option = {[]:[]} option.excluding(A); // option = {[]:[A]} option.including(A); // option = {[A]:[]} |
PreCallback | Callback object for Pre-Interaction type events.
|
PreFlag | Enumeration of interaction states for arbiters. These values are returned by PreListener callback handlers. |
PreListener | Event listener for Pre-Interaction type events.
|