public void update(GameContainer arg0, StateBasedGame arg1, int arg2)
			throws SlickException {
		lich.cycle(arg2);
		if(attackzone[xcollide][ymid]==true && lich.getAttackStatus()==true){
			reset();
			lich.regen();
		}
		if(bosslocation[(xcollide*64+128)/64][ymid]==true && attacking==true){
			lich.reducehealth();
		}
		if(lich.getHealth()<=0){
			game.enterState(4);
		}
		super.update(arg0, arg1, arg2);
		
	}