public void setColorFromState(int state){
        switch (state){
            case 0: setColor(C_LIBRE); break;
            case 1: setColor(Color.black); break;
            case 2: setColor(C_START); break;
            case 3: setColor(C_ARRIVE); break;
        }
    }