Protocol
EventHandler
public protocol EventHandler
An Eventhandler
is a type capable of being registered with the
Dispatcher
to receive events of a certain type.
Relationships
Types Conforming to EventHandler
CanvasResizeHandler
A type conforming to
CanvasResizeHandler
is capable of receiving canvas resize events through the onCanvasResize method.EntityMouseClickHandler
A type conforming to
EntityMouseClickHandler
is capable of receiving entity mouse click events through the onEntityMouseClick method.EntityMouseDownHandler
A type conforming to
EntityMouseDownHandler
is capable of receiving entity mouse down events through the onEntityMouseDown method.EntityMouseDragHandler
A type conforming to
EntityMouseDragHandler
is capable of receiving entity mouse drag events through the onEntityMouseDrag method.EntityMouseEnterHandler
A type conforming to
EntityMouseEnterHandler
is capable of receiving entity mouse enter events through the onEntityMouseEnter method.EntityMouseLeaveHandler
A type conforming to
EntityMouseLeaveHandler
is capable of receiving entity mouse leave events through the onEntityMouseLeave method.EntityMouseUpHandler
A type conforming to
EntityMouseUpHandler
is capable of receiving entity mouse up events through the onEntityMouseUp method.FrameUpdateHandler
A type conforming to
FrameUpdateHandler
is capable of receiving frame update events through the onFrameUpdate method.KeyDownHandler
A type conforming to
KeyDownHandler
is capable of receiving key down events through the onKeyDown method.KeyUpHandler
A type conforming to
KeyUpHandler
is capable of receiving key up events through the onKeyUp method.MouseDownHandler
A type conforming to
MouseDownHandler
is capable of receiving mouse down events through the onMouseDown method.MouseMoveHandler
A type conforming to
MouseMoveHandler
is capable of receiving mouse move events through the onMouseMove method.MouseUpHandler
A type conforming to
MouseUpHandler
is capable of receiving mouse up events through the onMouseUp method.WindowResizeHandler
A type conforming to
WindowResizeHandler
is capable of receiving window resize events through the onWindowResize method.
Requirements
name
var name : String
The unique name of the object associated with the handler