public bool rotateNextPiece()
        {
            // rotates a piece and sends a success or error message.  Returns true on success.
            setFailureBoolean("You spent " + priceRotation() + " to rotate the piece.");
            if (priceRotation() == 0)
            {
                setFailureBoolean("You rotated the piece.");
            }
            if (this._movingPerson)
            {
                return(setFailureBoolean("You can't rotate a person who is moving."));                     // no rotating people)
            }
            if (!this.piecesLeftThisTurn())
            {
                return(setFailureBoolean("You have no pieces left to rotate."));
            }
            int originalPiece = this.currentTurnPieces[0];

            if (Pieces.isPerson(originalPiece))
            {
                return(setFailureBoolean("You can't rotate a person."));
            }
            if (Pieces.isHouse(originalPiece))
            {
                return(setFailureBoolean("You can't rotate a house."));
            }
            if (!spendCoins(priceRotation()))
            {
                return(setFailureBoolean("You can't afford to rotate.  Rotation costs " + priceRotation() + " coins."));
            }
            this.currentTurnPieces[0] = Pieces.rotatePiece(originalPiece);
            if (this.piecesToPlay[this.currentParticipant][0] == originalPiece)
            {
                this.piecesToPlay[this.currentParticipant][0] = Pieces.rotatePiece(originalPiece);
            }
            return(true);
        }