public void sendState(State state) {
        if (leftConnector != null)
            leftConnector.sendState(state);
        if (rightConnector != null)
            rightConnector.sendState(state);
    }