Documentation
¶
Index ¶
Constants ¶
View Source
const ( N = "N" S = "S" E = "E" W = "W" NE = "NE" NW = "NW" SE = "SE" SW = "SW" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Coordinate ¶
func (Coordinate) Add ¶
func (c Coordinate) Add(other Coordinate) Coordinate
type Elf ¶
type Elf struct { Position Coordinate // contains filtered or unexported fields }
func (*Elf) AcceptProposal ¶
func (elf *Elf) AcceptProposal()
type Grove ¶
type Grove struct {
// contains filtered or unexported fields
}
func (*Grove) EmptySpaces ¶
func (*Grove) Occupied ¶
func (g *Grove) Occupied(pos Coordinate) bool
Click to show internal directories.
Click to hide internal directories.