extern void object::Walking( )
{
	point	center;
	float	radius, dist, delay;

	errmode(0);  // ne stoppe pas si erreur
//	while ( ismovie() != 0 )  wait(1);

	wait(14.5);
	motor(1,1);
	wait(4);

	radius = cmdline(0);
	center = position;
	while ( true )
	{
		delay = 1;
		dist = distance2d(position, center);
		if ( dist < radius )
		{
			if ( rand() < 0.8 )
			{
				motor(1,1);
				delay = 0.5+rand()*0.5;
			}
			else
			{
				motor(-1,1);
				delay = 0.2+rand()*0.2;
			}
		}
		else
		{
			turn(direction(center));
			motor(1,1);
		}
		wait(delay);
	}
}
