sim

package
v0.0.0-...-73b4bbd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2021 License: MIT Imports: 0 Imported by: 0

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 HaltedSimulation

type HaltedSimulation interface {
}

A simulation that has been halted.

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL