Example #1
0
 public GameLife(int dimensionX, int dimensionY, int increase)
 {
     _fillGeneration               = new GenerationalFill();
     _printResult                  = new GenerationalPrint();
     _currentGeneration            = new Generation();
     _currentGeneration.DimensionX = dimensionX;
     _currentGeneration.DimensionY = dimensionY;
     _currentGeneration.Increase   = increase;
     _consoleStyle                 = new ConsoleStyle();
 }
Example #2
0
 public GameLife(int dimensionX, int dimensionY, int increase)
 {
     _fillGeneration = new GenerationalFill();
     _printResult = new GenerationalPrint();
     _currentGeneration = new Generation();
     _currentGeneration.DimensionX = dimensionX;
     _currentGeneration.DimensionY = dimensionY;
     _currentGeneration.Increase = increase;
     _consoleStyle = new ConsoleStyle();
 }