Scenes Documentation Beta

Protocol Mouse​UpHandler

public protocol MouseUpHandler : EventHandler 

A type conforming to MouseUpHandler is capable of receiving mouse up events through the onMouseUp method.

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

%141 MouseUpHandler MouseUpHandler EventHandler EventHandler MouseUpHandler->EventHandler

Conforms To

EventHandler

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

Requirements

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

func onMouseUp(globalLocation:Point)