ch.aplu.ftcontroller
Interface CounterListener


public interface CounterListener

Declarations of notification methods.


Method Summary
 void countChanged(CounterEvent evt)
          Fired when the counter changes its count.
 

Method Detail

countChanged

void countChanged(CounterEvent evt)
Fired when the counter changes its count. In Robomode the zero count may be missed when the motor stops and the step switch is pressed (the last reported count is 1). When count is 1 use getMotorsStatus() to check whether the motor is stopped.

Parameters:
evt - a CounterEvent to retrieve information