class Gol::Cell

Defined in:

gol/cell.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(alive : Bool, x : Int32, y : Int32) #

[View source]

Instance Method Detail

def alive! #

[View source]
def alive? : Bool #

[View source]
def checkNeighbours(w : World, generations : Int32, cells : Int32) #

[View source]
def dead! #

[View source]
def dead? #

[View source]
def repr : String #

[View source]
def x? #

[View source]
def y? #

[View source]