90919293949596979899100
protected void notifyEncoderStopped(){ for(int i=0; i<encoderListeners.size(); i++){ ((EncoderListener) encoderListeners.elementAt(i)).rotationDidStop( new EncoderEvent(this, EncoderEvent.DEFAULT, getState("Distance"), (getState("Direction") == Sensor.TRUE) )
103104105106107108109110111112113
} protected void notifyDirectionChanged(){ for(int i=0; i<encoderListeners.size(); i++){ ((EncoderListener) encoderListeners.elementAt(i)).rotationDidStop( new EncoderEvent(this, EncoderEvent.DEFAULT, getState("Distance"), (getState("Direction") == Sensor.TRUE) )