ClientState

constructor(renderMode: RenderMode = RenderMode.AUTO, playButton: Action = Action.PAUSE, bitmap: Bitmap? = null, statusSurrogate: StatusSurrogate = StatusSurrogate.INIT)

Parameters

renderMode

the render mode of the client. It can be either client, server or auto. It is set to auto by default.

playButton

the state of the play button.

bitmap

the bitmap to display.

statusSurrogate

the StatusSurrogate of the simulation.