Documentation
¶
Overview ¶
The sim package defines the life cycle and interaction protocol used to interact with a game world simulation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RunningSimulation ¶
type RunningSimulation interface { // A Running simulation can be halted Halt() (HaltedSimulation, error) }
A simulation that is currently simulating a world.
type UnstartedSimulation ¶
type UnstartedSimulation interface {
Begin() (RunningSimulation, error)
}
A simulation that is prepared to begin simulating a world.
Click to show internal directories.
Click to hide internal directories.