Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrRecognizingObject = errors.New("Cannot recognize object") ErrExecuteCommand = errors.New("Cannot execute command") )
Functions ¶
Types ¶
type Controlled ¶
Object game characteristics
type Food ¶
type Food interface { Object // Nutritional value NutritionalValue(*playground.Dot) int8 }
Object game characteristics
type Living ¶
type Living interface { Object Resistant // Every living thing ever dies Die() // Living things are hungry Feed(int8) }
Object game characteristics
type Notalive ¶
type Notalive interface { Object Break(*playground.Dot) }
Object game characteristics
Click to show internal directories.
Click to hide internal directories.