コード例 #1
0
 public void forwardButtonAction()
 {
     if (currentPiece.possibleForwardMovement())
     {
         movePieceForward();
         reflectionUpdate();
         playPieceSound(pieceMovementSound);
     }
     else
     {
         playPieceSound(rejectedSound);
     }
 }