Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cell ¶
type Cell struct { Alive bool // Color in RGBA InnerColor, OuterColor [4]int // Postion of the cell within the grid X, Y int }
A Cell
type Grid ¶
Grid represent a grid of cells
func (Grid) CellNeighBoors ¶
Return a list of index of my neighbors
Click to show internal directories.
Click to hide internal directories.