Interface CharacterInputComponent
- All Known Implementing Classes:
IsoAnimal, IsoDummyCameraCharacter, IsoGameCharacter, IsoLivingCharacter, IsoLuaCharacter, IsoLuaMover, IsoPlayer, IsoSurvivor, IsoZombie, RandomizedBuildingBase.HumanCorpse
public interface CharacterInputComponent
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final floatstatic final floatstatic final floatstatic final floatstatic final float -
Method Summary
Modifier and TypeMethodDescriptiondefault voiddefault CharacterInputModedefault intdefault floatdefault Vector2default booleandefault booleandefault booleandefault booleandefault booleandefault booleandefault booleandefault booleandefault booleandefault booleandefault booleandefault booleandefault booleandefault booleandefault booleandefault booleandefault booleandefault booleandefault booleandefault booleandefault booleandefault booleandefault booleandefault booleandefault booleandefault booleandefault booleandefault booleandefault booleandefault voidsetIgnoreInputsForDirection(boolean ignoreInputsForDirection) default voidsetJoypadIgnoreAimUntilCentered(boolean ignore) default voidsetJoypadMovementActive(boolean joypadMovementActive) default booleandefault boolean
-
Field Details
-
GAMEPAD_MIN_VALUE_TRIGGER_AIMING
static final float GAMEPAD_MIN_VALUE_TRIGGER_AIMING- See Also:
-
GAMEPAD_MIN_VALUE_TRIGGER_SHOOT
static final float GAMEPAD_MIN_VALUE_TRIGGER_SHOOT- See Also:
-
MOVEMENT_RATE_STOPPED
static final float MOVEMENT_RATE_STOPPED- See Also:
-
MOVEMENT_RATE_MAX_WALKING
static final float MOVEMENT_RATE_MAX_WALKING- See Also:
-
MOVEMENT_RATE_MAX_RUNNING
static final float MOVEMENT_RATE_MAX_RUNNING- See Also:
-
-
Method Details
-
getJoypadBind
default int getJoypadBind() -
getInputMode
-
isJoypadControllerActive
default boolean isJoypadControllerActive() -
getJoypadMoveVector
-
getJoypadMovementRate
default float getJoypadMovementRate() -
isForwardKeyDown
default boolean isForwardKeyDown() -
isBackwardKeyDown
default boolean isBackwardKeyDown() -
isLeftKeyDown
default boolean isLeftKeyDown() -
isRightKeyDown
default boolean isRightKeyDown() -
isAimKeyDown
default boolean isAimKeyDown() -
isPrecisionAimKeyDown
default boolean isPrecisionAimKeyDown() -
isAnyAimKeyDown
default boolean isAnyAimKeyDown() -
isMeleeButtonDown
default boolean isMeleeButtonDown() -
isAttackButtonDown
default boolean isAttackButtonDown() -
isRunButtonDown
default boolean isRunButtonDown() -
wasRunButtonDown
default boolean wasRunButtonDown() -
isInteractButtonPressed
default boolean isInteractButtonPressed() -
isInteractButtonDown
default boolean isInteractButtonDown() -
isWalkToButtonDown
default boolean isWalkToButtonDown() -
isCrouchButtonDown
default boolean isCrouchButtonDown() -
isReloadWeaponButtonDown
default boolean isReloadWeaponButtonDown() -
isRackFirearmButtonDown
default boolean isRackFirearmButtonDown() -
isSprintButtonDown
default boolean isSprintButtonDown() -
wasSprintButtonDown
default boolean wasSprintButtonDown() -
isCancelActionButtonDown
default boolean isCancelActionButtonDown() -
isManualFloorAtkButtonDown
default boolean isManualFloorAtkButtonDown() -
isLShiftKeyDown
default boolean isLShiftKeyDown() -
isRShiftKeyDown
default boolean isRShiftKeyDown() -
isShiftKeyDown
default boolean isShiftKeyDown() -
isF12KeyDown
default boolean isF12KeyDown() -
isChangeCharacterKeyDown
default boolean isChangeCharacterKeyDown() -
checkJoypadIgnoreAimUntilCentered
default void checkJoypadIgnoreAimUntilCentered() -
isJoypadMovementAxisApplied
default boolean isJoypadMovementAxisApplied() -
setJoypadMovementActive
default void setJoypadMovementActive(boolean joypadMovementActive) -
isJoypadMovementActive
default boolean isJoypadMovementActive() -
setIgnoreInputsForDirection
default void setIgnoreInputsForDirection(boolean ignoreInputsForDirection) -
isIgnoreInputsForDirection
default boolean isIgnoreInputsForDirection() -
setJoypadIgnoreAimUntilCentered
default void setJoypadIgnoreAimUntilCentered(boolean ignore) -
isJoypadIgnoreAimUntilCentered
default boolean isJoypadIgnoreAimUntilCentered()
-