mirror of
https://github.com/jokerx3/HeatUp
synced 2026-07-27 11:29: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 static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
private boolean running = false;
|
private boolean running = false;
|
||||||
private boolean pause = false;
|
private static boolean pause = false;
|
||||||
|
|
||||||
private Thread thread;
|
private Thread thread;
|
||||||
|
|
||||||
@@ -167,7 +167,7 @@ public class GameLoopD extends JFrame implements Runnable {
|
|||||||
frame.start();
|
frame.start();
|
||||||
}
|
}
|
||||||
|
|
||||||
public synchronized void pause() {
|
public static synchronized void pause() {
|
||||||
if (pause) {
|
if (pause) {
|
||||||
pause = false;
|
pause = false;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user