SimulationControl

class SimulationControl<T, P : Position<out P>>(environment: Environment<T, P>) : Mutation(source)

A SimulationControl provides GraphQL Mutation for manipulating the current simulation.

Constructors

Link copied to clipboard
constructor(environment: Environment<T, P>)

Functions

Link copied to clipboard
fun pause(): String

Pause the simulation.

Link copied to clipboard
fun play(): String

Play the simulation.

Link copied to clipboard

Terminate the simulation.