void SetUpList() { for (int i = 0; i < 3; i++) { pieceList.Add(RandomTetris.GetPiece()); } }
public PieceType GrabNext() { pieceList.Add(RandomTetris.GetPiece()); PieceType pieceToReturn = pieceList[0]; pieceList.RemoveAt(0); return(pieceToReturn); }