Class GamepadButtonProperty
java.lang.Object
dev.prozilla.pine.common.property.mutable.SimpleMutableObjectProperty<GamepadButton>
dev.prozilla.pine.common.property.input.GamepadButtonProperty
- All Implemented Interfaces:
GamepadInputProperty,InputProperty,MutableObjectProperty<GamepadButton>,MutableProperty<GamepadButton>,Property<GamepadButton>,Functor<GamepadButton>
public class GamepadButtonProperty
extends SimpleMutableObjectProperty<GamepadButton>
implements GamepadInputProperty
-
Field Summary
Fields inherited from interface dev.prozilla.pine.common.property.input.InputProperty
FALLBACK, INPUT_BINDING_SEPARATOR, INPUT_ELEMENT_SEPARATOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanequals(GamepadButtonProperty gamepadButtonProperty) booleanbooleanisDown(GamepadInput gamepad) booleanisPressed(GamepadInput gamepad) toString()Methods 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, toGamepadAxisProperty, 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
-
Constructor Details
-
GamepadButtonProperty
public GamepadButtonProperty() -
GamepadButtonProperty
-
-
Method Details
-
isPressed
- Specified by:
isPressedin interfaceGamepadInputProperty
-
isDown
- Specified by:
isDownin interfaceGamepadInputProperty
-
toGamepadButtonProperty
- Specified by:
toGamepadButtonPropertyin interfaceInputProperty
-
equals
-
equals
-
toString
-