Package-level declarations
Types
Link copied to clipboard
data class ClientState(val renderMode: RenderMode = RenderMode.AUTO, val playButton: Action = Action.PAUSE, val bitmap: Bitmap? = null, val statusSurrogate: StatusSurrogate = StatusSurrogate.INIT) : CommonState
The state of the client. The ClientState is managed using the Core concepts of the ReduxKotlin library. Like in the original Redux library, the state is stored in a single class that contains other objects via composition. The state can be changed using actions that must be defined in advance. The unique store that encapsulate the ClientState is it.unibo.alchemist.boundary.webui.client.state.ClientStore.
Link copied to clipboard
object ClientStore
The store of the client. This class uses the core concepts of the original Redux library. Thanks to the singleton pattern, the ClientState can be accessed or edited from anywhere.