Class GamepadAxisProperty
java.lang.Object
dev.prozilla.pine.common.property.mutable.SimpleMutableObjectProperty<GamepadAxis>
dev.prozilla.pine.common.property.input.AnalogInputProperty<GamepadAxis>
dev.prozilla.pine.common.property.input.GamepadAxisProperty
- All Implemented Interfaces:
GamepadInputProperty,InputProperty,MutableObjectProperty<GamepadAxis>,MutableProperty<GamepadAxis>,Property<GamepadAxis>,Functor<GamepadAxis>
public class GamepadAxisProperty
extends AnalogInputProperty<GamepadAxis>
implements GamepadInputProperty
-
Field Summary
FieldsFields inherited from interface dev.prozilla.pine.common.property.input.InputProperty
FALLBACK, INPUT_BINDING_SEPARATOR, INPUT_ELEMENT_SEPARATOR -
Constructor Summary
ConstructorsConstructorDescriptionGamepadAxisProperty(GamepadAxis defaultAxis) GamepadAxisProperty(GamepadAxis defaultAxis, float threshold) -
Method Summary
Modifier and TypeMethodDescriptionbooleanequals(GamepadAxisProperty gamepadAxisProperty) booleanbooleanisDown(GamepadInput gamepad) booleanisPressed(GamepadInput gamepad) toGamepadAxisProperty(GamepadAxis value) toString()Methods inherited from class dev.prozilla.pine.common.property.input.AnalogInputProperty
getThreshold, setThreshold, thresholdPropertyMethods inherited from class dev.prozilla.pine.common.property.mutable.SimpleMutableObjectProperty
getValue, onValueChange, setValueMethods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface dev.prozilla.pine.common.property.input.GamepadInputProperty
isDown, isPressedMethods inherited from interface dev.prozilla.pine.common.property.input.InputProperty
isDownProperty, isPressedProperty, toGamepadAxesProperty, toGamepadButtonProperty, toGamepadButtonsProperty, toKeyboardKeyProperty, toKeyboardKeysProperty, toMouseButtonProperty, toMouseButtonsPropertyMethods inherited from interface dev.prozilla.pine.common.property.mutable.MutableObjectProperty
setNull, stealMethods inherited from interface dev.prozilla.pine.common.property.mutable.MutableProperty
modifyValue, swapValue, viewPropertyMethods inherited from interface dev.prozilla.pine.common.property.Property
getValueOr, hasValue, hasValueProperty, isNotNull, isNotNullProperty, isNull, map, replaceNull, requireValue, snapshot, toStringProperty
-
Field Details
-
DEFAULT_THRESHOLD
public static final float DEFAULT_THRESHOLD- See Also:
-
-
Constructor Details
-
GamepadAxisProperty
public GamepadAxisProperty() -
GamepadAxisProperty
-
GamepadAxisProperty
-
-
Method Details
-
isDown
- Specified by:
isDownin interfaceGamepadInputProperty
-
isPressed
- Specified by:
isPressedin interfaceGamepadInputProperty
-
toGamepadAxisProperty
- Specified by:
toGamepadAxisPropertyin interfaceInputProperty
-
equals
-
equals
-
toString
-