I changed stuff about togglePause

This commit is contained in:
benoi 2024-05-07 17:21:07 +02:00
parent 5ad318256d
commit f5345ab987
1 changed files with 2 additions and 1 deletions

View File

@ -134,7 +134,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)
} }
/** /**