icommand.platform.nxt
Class Touch

java.lang.Object
  extended by icommand.platform.nxt.Touch

public class Touch
extends java.lang.Object

Touch Sensor class.

Author:
BB

Constructor Summary
Touch(Sensor sensor)
           
 
Method Summary
 boolean isPressed()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Touch

public Touch(Sensor sensor)
Method Detail

isPressed

public boolean isPressed()
Returns:
true if sensor is pressed.