Package com.thegongoliers.input.switches
Class LimitSwitch
- java.lang.Object
-
- com.thegongoliers.input.switches.LimitSwitch
-
-
Constructor Summary
Constructors Constructor Description LimitSwitch(int port)
Defined a limit switch.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isTriggered()
Determines if the switch is triggered
-
-
-
Method Detail
-
isTriggered
public boolean isTriggered()
Description copied from interface:Switch
Determines if the switch is triggered- Specified by:
isTriggered
in interfaceSwitch
- Returns:
- true if the switch is triggered, false otherwise
-
-