瀏覽代碼

Changed timing slightly

Kenneth van Ewijk 10 年之前
父節點
當前提交
d322e0ca3f
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      model/gameState/PlayState.java

+ 2 - 2
model/gameState/PlayState.java

@@ -50,7 +50,7 @@ public class PlayState extends GameState {
 
 	public PlayState(GameStateManager gsm, SongHandler sh, SQLConnector sql) {
 		super(gsm, sh, sql);
-		infoPanel = new InfoPanel(0, 0, sh);
+		infoPanel = new InfoPanel(sh);
 		area = new PlayArea(256, 1024, 1024, 125);
 		player = new Player(1280 - 1024 + 1024 / 2, 1024 / 2);
 		stroke = new BasicStroke(sizeOfEnemy, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND);
@@ -103,7 +103,7 @@ public class PlayState extends GameState {
 		}
 		
 
-		if(progress > sh.getCurrentSongInstance().getEndTime() + Enemy.secondsToEnd*1000*3){
+		if(progress > sh.getCurrentSongInstance().getEndTime() + Enemy.secondsToEnd*2500){
 			won = true;
 			endGame();			
 		}