private void AddRandomTetrominos() { for (int i = 0; i < tetrominos.Count; i++) { NextTetrominos.Insert(NextTetrominos.Count - i + rnd.Next(i + 1), new Tetromino(tetrominos[i])); } }
void Hold() { if (HoldTetromino != null) { NextTetrominos.Insert(0, HoldTetromino); } HoldTetromino = CurrentTetromino; HoldTetromino.Rotation = 0; PickTetromino(); }