Protocol
FrameUpdateHandler
public protocol FrameUpdateHandler : EventHandler
A type conforming to FrameUpdateHandler
is capable of receiving
frame update events through the onFrameUpdate method.
Before receiving events, it must be registered with the dispatcher via the registerFrameUpdateHandler method. Similarly, it should be unregistered before deinitialization via the unregisterFrameUpdateHandler 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.
Requirements
onFrameUpdate(framesPerSecond:)
func onFrameUpdate(framesPerSecond:Int)