Exemplo n.º 1
0
 public void rightwardButtonAction()
 {
     if (currentPiece.possibleRightwardMovement())
     {
         movePieceRight();
         reflectionUpdate();
         playPieceSound(pieceMovementSound);
     }
     else
     {
         playPieceSound(rejectedSound);
     }
 }