public void update()
	{
		int n;
		double min = 9999999999999.0;
		double dist = 0.0;
		Element e;
		focus = null;
		
		n = listElements.size();
		for(int i = 0; i < n; i++)
		{
			e = listElements.get(i);
			if(e.type == Type.BOMBERMAN && (dist = distanceToElementPow(e)) < min)
			{
				focus = e;
				pushEvent(focus, "jveux te boufer !");
				min = dist;
			}
		}
		if(focus != null && focus.alive())
		{
			direction = directionToElement(focus);
			if(collisionElementRect((int)(x+hspeed), (int)(y+vspeed), focus))
				pushEvent(focus, "taille-");
		}
		
		
		updateHVSpeed();
		forwardStepByStep(false);
	}