home
This commit is contained in:
parent
238d8a4697
commit
f8e92df10e
@ -492,7 +492,7 @@ public class mainThread extends JFrame implements KeyListener, ActionListener, M
|
|||||||
framePerSecond = (int)(1000/((thisTime - lastTime)/30));
|
framePerSecond = (int)(1000/((thisTime - lastTime)/30));
|
||||||
lastTime = thisTime;
|
lastTime = thisTime;
|
||||||
}
|
}
|
||||||
sleepTime = 0;
|
sleepTime = 0;
|
||||||
/*while(System.currentTimeMillis()-lastDraw<frameInterval){
|
/*while(System.currentTimeMillis()-lastDraw<frameInterval){
|
||||||
try {
|
try {
|
||||||
Thread.sleep(1);
|
Thread.sleep(1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user