Exemplo n.º 1
0
 public Game(INextFigureFactory nextFigureFactory)
 {
     _nextFigureFactory = nextFigureFactory;
 }
Exemplo n.º 2
0
 public Game(INextFigureFactory nextFigureFactory)
 {
     _nextFigureFactory = nextFigureFactory;
     _currentFigure     = _nextFigureFactory.GetRandomFigure();
     _nextFigure        = _nextFigureFactory.GetRandomFigure();
 }