Table of Contents

Rollback

Methods
protected abstract void Rollback(long toFrame, TState state)

Called when the simulation should be rolled back to a given state. The state should be used to set simulation state back to how it was as of the toFrame.

Parameters
Type Name Description
long toFrame

Frame to which we're rolling back.

TState state

State as of the toFrame.