class nape.callbacks.CbEvent

Available on all platforms

Enumeration of possible callback event types.

Class Fields

static var BEGIN:CbEvent

BEGIN event corresponds to the start of an interaction

static var BREAK:CbEvent

BREAK event corresponds to the breaking of a defined limit on a Constraint.

static var END:CbEvent

END event corresponds to the end of an interaction.

static var ONGOING:CbEvent

ONGOING event corresponds to any step in which an interaction is occuring * overlapping with the BEGIN event.

static var PRE:CbEvent

PRE event corresponds to a special mid-step event that occurs after it is determined * that two objects 'will' begin to interact, but before any interaction commences.

static var SLEEP:CbEvent

SLEEP event corresponds to the sleeping of a Body or Constraint in the space.

static var WAKE:CbEvent

WAKE event corresponds to the waking of a Body or Constraint in the space.

Instance Fields

function new():Void

@private

function toString():String

@private