GamePlay fixes

This commit is contained in:
2015-06-08 13:45:28 +02:00
parent a3069af5c0
commit 0525163195
2 changed files with 22 additions and 21 deletions
+6 -4
View File
@@ -41,16 +41,18 @@ public class PlayState extends GameState {
super(gsm, sh);
infoPanel = new InfoPanel(0, 0);
area = new PlayArea(256, 1024, 1024, 125);
// for(int index = 0; index < 8; index++){
// addEnemy(index, GameModel.colors[index % 6]);
// }
//
player = new Player(1280 - 1024 + 1024 / 2, 1024 / 2);
stroke = new BasicStroke(sizeOfEnemy, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND);
}
@Override
public void init() {
lifePoints = 100;
currentScore = 0;
comboScore = 0;
oldProgress = 0 ;
try {
Thread.sleep(2000);
} catch (InterruptedException e) {