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 booleanisTriggered()Determines if the switch is triggered
-
-
-
Method Detail
-
isTriggered
public boolean isTriggered()
Description copied from interface:SwitchDetermines if the switch is triggered- Specified by:
isTriggeredin interfaceSwitch- Returns:
- true if the switch is triggered, false otherwise
-
-