I changed stuff about togglePause
This commit is contained in:
parent
5ad318256d
commit
f5345ab987
|
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue