Protocol
EntityMouseEnterHandler
public protocol EntityMouseEnterHandler : EventHandler, RenderableEntity
A type conforming to EntityMouseEnterHandler
is capable of receiving
entity mouse enter events through the onEntityMouseEnter method.
Before receiving events, it must be registered with the dispatcher via the registerEntityMouseEnterHandler method. Similarly, it should be unregistered before deinitialization via the unregisterEntityMouseEnterHandler method available through the dispatcher.
Relationships
Conforms To
EventHandler
An
Eventhandler
is a type capable of being registered with theDispatcher
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 theDispatcher
to register events of intrest.
Requirements
onEntityMouseEnter(globalLocation:)
func onEntityMouseEnter(globalLocation:Point)