Listener

nape.callbacks.Listener (Class) → BodyListener, ConstraintListener, InteractionListener, PreListener

Base type for all Nape callback listeners.

Instance Members

@private


nape
type: ListenerType

The sub-type of this listener.


nape
event: CbEvent

The CbEvent this listener responds to.


nape
precedence: Int

The precedence of this listener.

In any case that there is more than one suitable listener for a situation, the listeners will be ordered by their precedence.

@default 0


The Space this listener is assigned to.

This value can be set, with setting to null being equivalent to removing the listener from whichever Space it is presently assigned to.

@default null


nape
toString(): String

@private

Returns
String

nape
new(): Void

@private

Private Members