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
EventHandlerAn
Eventhandleris a type capable of being registered with theDispatcherto receive events of a certain type.
Requirements
onFrameUpdate(framesPerSecond:)
func onFrameUpdate(framesPerSecond:Int)