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