public void warn(Event event) {
		switch(event.getTypeEvent())
		{
		case USECLAWS_END :
		case ROTATE_END :
			end=true;
			break;
		case BUMP :
			if(state==2){
				state=3;
			}
			else
				ignore();
			break;
		case WAIT_END :
			if(state == -1) {
				state = 0;
			}
			else if(state != 1)
				ignore();
			break;
		default:
			ignore();
			break;
		}
	}