public interface TouchListener
| Modifier and Type | Method and Description |
|---|---|
void |
pressed(SensorPort port)
Called when the touch sensor is pressed.
|
void |
released(SensorPort port)
Called when the touch sensor is released.
|
void pressed(SensorPort port)
port - the port where the sensor is plugged invoid released(SensorPort port)
port - the port where the sensor is plugged in