public World GetWorld() { var input = _inputReader.GetStringContent(); var dimensions = GetDimensions(input); var livingCells = GetLivingCells(input); return(new World(dimensions, livingCells)); }
public World GetWorld() { var input = _inputReader.GetStringContent(); var dimensions = GetDimensions(input); var livingCells = GetLivingCells(input); return(new World(dimensions, livingCells)); }