예제 #1
0
 public Tetromino(TetrisBoard tetrisBoard, Collection <Tetromino> tetrominosOnScreen)
 {
     Blocks                  = new Collection <TetrisBlock>();
     this.tetrisBoard        = tetrisBoard;
     this.tetrominosOnScreen = tetrominosOnScreen;
 }
예제 #2
0
 public void Draw(TetrisBoard tetrisBoard, Color color)
 {
     tetrisBoard.Draw(column, row, color);
 }