This commit is contained in:
Timéo 2024-05-07 17:27:38 +02:00
commit 3ae384ea29
1 changed files with 2 additions and 1 deletions

View File

@ -149,7 +149,8 @@ public class Simulator extends Thread {
* method called when clicking pause button * method called when clicking pause button
*/ */
public void togglePause() { public void togglePause() {
// TODO : actually toggle the corresponding flag pauseFlag= ! pauseFlag;
// It changes the boolean value associated to pauseFlag (pauseFlag= not pauseFlag)
} }
/** /**