Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRecognizingObject = errors.New("cannot recognize object")
Functions ¶
Types ¶
type Food ¶
type Food interface { Object NutritionalValue(*playground.Dot) int8 // Nutritional value }
Object game characteristics
type Living ¶
type Living interface { Object Resistant Die() // Every living thing ever dies Feed(int8) // Living things are hungry }
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.