Esempio n. 1
0
 public void leftwardButtonAction()
 {
     if (currentPiece.possibleLeftwardMovement())
     {
         movePieceLeft();
         reflectionUpdate();
         playPieceSound(pieceMovementSound);
     }
     else
     {
         playPieceSound(rejectedSound);
     }
 }