Beispiel #1
0
 public GameMaster(TetraminoController tetraminoController,
                   TetraminoFactory tetraminoFactory,
                   FilledLinesCleaner filledLinesCleaner,
                   Spawner spawner)
 {
     this.tetraminoController = tetraminoController;
     this.tetraminoFactory    = tetraminoFactory;
     this.filledLinesCleaner  = filledLinesCleaner;
     this.spawner             = spawner;
 }
Beispiel #2
0
 public void Construct(TetraminoController tetrisGrid)
 {
     this.linesCleaner = tetrisGrid;
 }