box-o-sand/conway/game_state_cell.go

13 lines
171 B
Go
Raw Normal View History

2012-12-12 03:50:47 +00:00
package conway
type GameStateCell struct {
Value int
X int
Y int
cols []int
}
func (cell *GameStateCell) SetValue(value int) {
cell.cols[cell.X] = value
}