Class TorqueTraversableSelection<T>
java.lang.Object
org.texastorque.torquelib.control.TorqueTraversableSelection<T>
Wrapper for an array that has a selector that can be
incremented or decremented on controller inputs.
[1, 2, 3, 4, 5]
<- ^ -> ß
-
Constructor Summary
ConstructorDescriptionTorqueTraversableSelection
(int index, T... values) TorqueTraversableSelection
(T... values) -
Method Summary
-
Constructor Details
-
TorqueTraversableSelection
-
TorqueTraversableSelection
-
-
Method Details
-
calculate
-
hasUpdated
public final boolean hasUpdated()Check if the class has been updated since the last call of this method.- Returns:
- Has the class been updated since the last call of this method.
-
get
-
get
-
set
public final void set(int index)
-