icommand.nxt
Class TouchSensor

java.lang.Object
  extended by icommand.nxt.TouchSensor

public class TouchSensor
extends java.lang.Object

TouchSensor Port class.

Author:
BB

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

Constructor Detail

TouchSensor

public TouchSensor(SensorPort sensor)
Method Detail

isPressed

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


Copyright 2006. All Rights Reserved.