public void dmgUpdate(int i, int j, int k, int l) {
		Obstacle[][] obs = level.getObstacles();
		int dmg = 0;
		if ((y+height)/Obstacle.getHeight()>=0){ // Could be out of the map
			while (l<height){
				int tmpK = k;
				int tmpJ = j;
				while(tmpK<width && i>=0){
					dmg += obs[i][tmpJ].getDmg();
//					if (obs[i][tmpJ].getDmg()!= 0)		// to print when dmg
//						System.out.println("I:"+i+" J:"+j+" Dmg :"+dmg+" Health:"+health);
					tmpK += Obstacle.getWidth();
					++ tmpJ;
				}
				l += Obstacle.getHeight();
				++i;
			}
		}
		health -= dmg;
		if (health < 0)
			dead = true;
	}