Skip to content

Commit

Permalink
Fix: protected increaseMoveCount decreaseMoveCount
Browse files Browse the repository at this point in the history
  • Loading branch information
acenelio committed Sep 1, 2021
1 parent 05848fd commit 0b1fcdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/chess/ChessPiece.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ public int getMoveCount() {
return moveCount;
}

public void increaseMoveCount() {
protected void increaseMoveCount() {
moveCount++;
}

public void decreaseMoveCount() {
protected void decreaseMoveCount() {
moveCount--;
}

Expand Down

0 comments on commit 0b1fcdb

Please sign in to comment.