Fixed resetting playState

This commit is contained in:
2015-06-08 13:54:26 +02:00
parent 8297ff79e8
commit 861a973cde
2 changed files with 10 additions and 0 deletions
+5
View File
@@ -53,6 +53,11 @@ public class PlayState extends GameState {
comboScore = 0;
oldProgress = 0 ;
for(Path p : area.paths)
{
p.getEnemysInPath().clear();
}
try {
Thread.sleep(2000);
} catch (InterruptedException e) {
+5
View File
@@ -58,4 +58,9 @@ public class InfoPanel {
public void draw(Graphics2D g2){
g2.drawImage(infoPanel, 0, 0, 256,1024,null);
}
public String getTotalHighscore()
{
return totalHighscore;
}
}