public class TouchSensor extends RawSensor
listeners, listenersWithRange, value
Constructor and Description |
---|
TouchSensor() |
Modifier and Type | Method and Description |
---|---|
SensorType |
getType()
Get the sensor type
|
boolean |
isPressed()
Tells if the button is pressed.
|
addListener, addListenerWithRange, getValue, onChange, onChange, setValue
public SensorType getType()
Sensor
public boolean isPressed()