CoherenceInputManager
class in Coherence.Toolkit
Constructors
CoherenceInputManager |
Properties
AcknowledgedFrame | Last common acknowledged frame for all inputs in the system. |
CommonReceivedFrame | Last common received frame for all inputs in the system. |
CurrentFixedSimulationFrame | |
MispredictionFrame | Last common misprediction frame for all inputs in the system. |
ProcessingEnabled | If false, the manager won't process anything during a fixed frame update. |
ShouldPause | If true, the system cannot do any more predictions. Client should pause the game and stop polling inputs to not lose any data required for a rollback. |
Events
OnPauseChange | Raised when the ShouldPause flag changes indicating that the simulation should pause. |