public void Awake() { spawnDisplacement = Point.Subtract(spawnPoint, previewPoint); random = new System.Random(); activeTetromino = Tetromino.CreateEmpty(); nextTetromino = Tetromino.CreateEmpty(); }
private void FreezeTetromino() { foreach (Block block in activeTetromino.Blocks) { blockField.InsertBlock(block); } activeTetromino = Tetromino.CreateEmpty(); }