Beispiel #1
0
 public SpawnTest(TetraminoController tetrisGrid, TetraminoFactory tetraminoFactory, SignalBus signalBus)
 {
     this.signalBus        = signalBus;
     this.tetrisGrid       = tetrisGrid;
     this.tetraminoFactory = tetraminoFactory;
 }
Beispiel #2
0
 public static Tetramino Draw(PieceType type, Point point, int rotation)
 {
     return(TetraminoFactory.Draw(type, point, rotation));
 }