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