public StartGame() { universe = new Universe(); border = new BounderyOfTheUniverse(universe.Rows, universe.Columns, '+'); cursor = new Cursor(); generation = new Generation(); game = new Show(universe); key = new PlayGameKey(universe, generation); }
public StartGame(int rows, int columns, int sleep) { universe = new Universe(rows, columns); border = new BounderyOfTheUniverse(universe.Rows, universe.Columns, '+'); cursor = new Cursor(); generation = new Generation(); game = new Show(universe); key = new PlayGameKey(universe, generation); this.sleep = sleep; }