mirror of
https://github.com/jokerx3/HeatUp
synced 2026-07-27 10:19:46 +02:00
Kommentar
This commit is contained in:
@@ -25,7 +25,7 @@ public class GameLoopD extends JFrame implements Runnable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private boolean running = false;
|
||||
private boolean pause = false;
|
||||
private static boolean pause = false;
|
||||
|
||||
private Thread thread;
|
||||
|
||||
@@ -167,7 +167,7 @@ public class GameLoopD extends JFrame implements Runnable {
|
||||
frame.start();
|
||||
}
|
||||
|
||||
public synchronized void pause() {
|
||||
public static synchronized void pause() {
|
||||
if (pause) {
|
||||
pause = false;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user