public void update() {
			player.update();
			player.checkAttack(enemies);
			player.checkCoins(coins);
			
			finish.update();
			finish.checkGrab(player);
			
			bg.setPosition(tileMap.getx(), 0);
			
			tileMap.setPosition(
					GamePanel.WIDTH / 2 - player.getx(),
					GamePanel.HEIGHT / 2 - player.gety());
			
			
			if(player.isDead()){
				player.setPosition(100, 500);
				player.reset();
				//restart();
				player.revive();
			}
			
			for(int i = 0; i < enemies.size(); i++){
				Enemy e = enemies.get(i);
				e.update();
				if(player.isDrunk()){
					e.kill();
				}
				if(e.isDead()){
					enemies.remove(i);
					e.addScore(Level2State.score);
					i--;
				}
			}
			
			for(int i = 0; i < coins.size(); i++){
				Coin c = coins.get(i);
				c.update();
				if(c.shouldRemove()){
					coins.remove(i);
					c.addScore();
					i--;
				}
			}
			
		}