class nape.callbacks.Listener

Available on all platforms

Base type for all Nape callback listeners.

Instance Fields

var event:CbEvent

The CbEvent this listener responds to.

var 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

var space:Null<Space>

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

var type:ListenerType

The sub-type of this listener.

function new():Void

@private

function toString():String

@private