Implement a command queue on the world

Not currently executed
This commit is contained in:
Marc Di Luzio 2020-06-06 14:44:59 +01:00
parent e3ce87e964
commit 0a0a32cf58
6 changed files with 120 additions and 15 deletions

View file

@ -12,3 +12,6 @@ type Command struct {
Bearing string `json:"bearing,omitempty"`
Duration int `json:"duration,omitempty"`
}
// CommandStream is a list of commands to execute in order
type CommandStream []Command