Scenes Documentation Beta

Protocol Entity​Mouse​UpHandler

public protocol EntityMouseUpHandler : EventHandler, RenderableEntity 

A type conforming to EntityMouseUpHandler is capable of receiving entity mouse up events through the onEntityMouseUp method.

Before receiving events, it must be registered with the dispatcher via the registerEntityMouseUpHandler method. Similarly, it should be unregistered before deinitialization via the unregisterEntityMouseUpHandler method available through the dispatcher.

%13 EntityMouseUpHandler EntityMouseUpHandler EventHandler EventHandler EntityMouseUpHandler->EventHandler RenderableEntity RenderableEntity EntityMouseUpHandler->RenderableEntity

Conforms To

EventHandler

An Eventhandler is a type capable of being registered with the Dispatcher to receive events of a certain type.

RenderableEntity

A RenderableEntity provides the majority of rendering and interactive functionality by overriding the required methods and working with the Dispatcher to register events of intrest.

Requirements

on​Entity​Mouse​Up(global​Location:​)

func onEntityMouseUp(globalLocation:Point)