commit 95dd3e52d3a09aa2d8b93f55405fad56695c657a parent 5c4b76c1624ce5a7648f280db3c631ba46fb8032 Author: lukeeeeeee334 <lukeosullivan123@gmail.com> Date: Wed, 4 Dec 2024 15:52:56 +0000 reset timer once 2 moves are placed Diffstat:
| M | TicTacToeClient/src/main/java/com/groupproject/tictactoeclient/ContentPanes/MainContentPanel.java | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/TicTacToeClient/src/main/java/com/groupproject/tictactoeclient/ContentPanes/MainContentPanel.java b/TicTacToeClient/src/main/java/com/groupproject/tictactoeclient/ContentPanes/MainContentPanel.java @@ -271,6 +271,9 @@ public class MainContentPanel extends CustomPanel { if (client.NUM_OF_MOVES >= 2) { timer.restart(); timer.stop(); + String time2 = String.format("15m 0s"); + gameTimerLabel.setText(time2); + }