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
CanvasResizeHandlerA type conforming to
CanvasResizeHandleris capable of receiving canvas resize events through the onCanvasResize method.EntityMouseClickHandlerA type conforming to
EntityMouseClickHandleris capable of receiving entity mouse click events through the onEntityMouseClick method.EntityMouseDownHandlerA type conforming to
EntityMouseDownHandleris capable of receiving entity mouse down events through the onEntityMouseDown method.EntityMouseDragHandlerA type conforming to
EntityMouseDragHandleris capable of receiving entity mouse drag events through the onEntityMouseDrag method.EntityMouseEnterHandlerA type conforming to
EntityMouseEnterHandleris capable of receiving entity mouse enter events through the onEntityMouseEnter method.EntityMouseLeaveHandlerA type conforming to
EntityMouseLeaveHandleris capable of receiving entity mouse leave events through the onEntityMouseLeave method.EntityMouseUpHandlerA type conforming to
EntityMouseUpHandleris capable of receiving entity mouse up events through the onEntityMouseUp method.FrameUpdateHandlerA type conforming to
FrameUpdateHandleris capable of receiving frame update events through the onFrameUpdate method.KeyDownHandlerA type conforming to
KeyDownHandleris capable of receiving key down events through the onKeyDown method.KeyUpHandlerA type conforming to
KeyUpHandleris capable of receiving key up events through the onKeyUp method.MouseDownHandlerA type conforming to
MouseDownHandleris capable of receiving mouse down events through the onMouseDown method.MouseMoveHandlerA type conforming to
MouseMoveHandleris capable of receiving mouse move events through the onMouseMove method.MouseUpHandlerA type conforming to
MouseUpHandleris capable of receiving mouse up events through the onMouseUp method.WindowResizeHandlerA type conforming to
WindowResizeHandleris 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