java.lang.Object
technology.sola.engine.core.GameLoop.FpsTracker
- Enclosing class:
- GameLoop
FpsTracker is a simple class for tracking update and frame ticks.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidSignal a frame tick happened.voidSignals an update tick happened.
-
Constructor Details
-
FpsTracker
Creates an instance of the FpsTracker.- Parameters:
eventHub- theEventHubinstance
-
-
Method Details
-
tickUpdate
public void tickUpdate()Signals an update tick happened. -
tickFrames
public void tickFrames()Signal a frame tick happened.
-