/// <summary> /// Sets the type of the piece. /// </summary> /// <param name="pieceType">Type of the piece.</param> public void SetPieceType(PieceType pieceType) { FindPlayer().CurrentPieceType = pieceType; }
/// <summary> /// Sets the type of the next piece. /// </summary> /// <param name="pieceType">Type of the piece.</param> public void SetNextPieceType(PieceType pieceType) { FindPlayer().NextPieceType = pieceType; }