Selaa lähdekoodia

Fix preplay-state only showing once

Kenneth van Ewijk 10 vuotta sitten
vanhempi
commit
4250e99682
1 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  1. 3 2
      model/gameState/PreGameState.java

+ 3 - 2
model/gameState/PreGameState.java

@@ -18,7 +18,6 @@ public class PreGameState extends GameState {
 
 	double index2 = 3;
 	double index = 3;
-	double timer;
 	int grootte = 150;
 	BasicStroke s = new BasicStroke(20);
 	
@@ -31,7 +30,9 @@ public class PreGameState extends GameState {
 
 	@Override
 	public void init() {
-		
+		grootte = 150;
+		index = 3;
+		index2 = 3;
 	}
 
 	@Override