public void warn(Event event) {
		switch(event.getTypeEvent())
		{
		case SHUTDOWN :
			stop();
			break;
		case PLAYMUSIC_END :
			end = true;
			break;
		case GOFORWARD_END :
			state = 1;
			robotMoving = false;
			break;
		case GOBACKWARD_END :
			state = 2;
			robotMoving = false;
			break;
		case ROTATE_END :
			state = 0;
			robotMoving = false;
			break;
		case USECLAWS_END :
			clawsMoving = false;
			attente = true;
			nextclawsOpenure = 1.0f - nextclawsOpenure;
			break;
		case WAIT_END :
			if(event.getName().equals("end"))
				end = true;
			else
				attente = false;
			break;
		default:
			break;
		}
	}