livesIn

Check if a cell lives

bool
livesIn

Examples

Find if a cell is living in the world

CellList world = [ Cell(1,1) ];

Cell(1,1).livesIn(world).should.equal(true);

Find if a cell does not live in the world

	CellList world = [ Cell(1,1) ];

    Cell(2,2).livesIn(world).should.equal(false);

Meta