using System.Collections.Generic; using GameOfLife.Entities; namespace GameOfLife { public interface ILife { int Generation { get; } int Population { get; } bool IsCellAlive(Cell cell); bool AllAlive(IEnumerable cells); bool AllDead(IEnumerable cells); bool ToggleCell(Cell cell); void IncrementGeneration(); IEnumerable LivingCells { get; } } }