Merge branch 'master' of https://github.com/phu004/JavaRTS.git
Conflicts: core/mainThread.java
This commit is contained in:
commit
cabd62931a
@ -492,8 +492,13 @@ 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;
|
||||||
}
|
}
|
||||||
|
<<<<<<< HEAD
|
||||||
sleepTime = 0;
|
sleepTime = 0;
|
||||||
while(System.currentTimeMillis()-lastDraw<frameInterval){
|
while(System.currentTimeMillis()-lastDraw<frameInterval){
|
||||||
|
=======
|
||||||
|
sleepTime = 0;
|
||||||
|
/*while(System.currentTimeMillis()-lastDraw<frameInterval){
|
||||||
|
>>>>>>> branch 'master' of https://github.com/phu004/JavaRTS.git
|
||||||
try {
|
try {
|
||||||
Thread.sleep(1);
|
Thread.sleep(1);
|
||||||
sleepTime++;
|
sleepTime++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user