예제 #1
0
 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);
 }
예제 #2
0
 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;
 }