Exemple #1
0
 private Piece(Cell pivot, Tetromino tetromino, Rotation rotation)
 {
     this.pivot     = pivot;
     this.tetromino = tetromino;
     this.rotation  = rotation;
 }
Exemple #2
0
 public Piece(Cell pivot, Tetromino tetromino) :
     this(pivot, tetromino, Rotation.Default)
 {
 }