Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Herbivore ¶
Herbivore is a struct representing basic herding, non-agressive, herbivorous animals.
type Herbivores ¶
func MakeHerbivores ¶
func MakeHerbivores(name string) (Herbivores, error)
func (Herbivores) BoidInfo ¶
func (hs Herbivores) BoidInfo() ai.BoidInfo
func (Herbivores) Len ¶
func (hs Herbivores) Len() int
func (Herbivores) Move ¶
func (hs Herbivores) Move(w *world.World)
func (*Herbivores) Spawn ¶
func (hs *Herbivores) Spawn(p, v geom.Point)
Spawn spawns a new Herbivore for this Herbivores collection.
Click to show internal directories.
Click to hide internal directories.