extern void object::Move( )
{
	object	target;
	point	p;
	float	m;

	errmode(0);  // ne stoppe pas si erreur

	turn((rand()-0.5)*360);
	move(5);

	while ( true )
	{
		target = radar(Car);
		if ( target == null or
			 distance2d(position, target.position) > 20 )
		{
			action(0, 2);
			m = (rand()-0.5)*0.5;
			motor(m, -m);
			wait(rand()*3);
		}
		else
		{
			turn(direction(target.position));
			action(6, 5);
			wait(6);
		}
	}
}
