public Controller(LifeCanvas board) { _board = board; IsRunning = false; _timer = new System.Threading.Timer(o => { _board.Update(); }, null, System.Threading.Timeout.Infinite, System.Threading.Timeout.Infinite); }
public void Step() { _board.ComputeAllNextStates(); _board.Update(); }