Class IsoGameCharacter

All Implemented Interfaces:
fmod.fmod.IFMODParameterUpdater, Serializable, Mover, IActionStateChanged, ILuaGameCharacter, ILuaGameCharacterAttachedItems, ILuaGameCharacterClothing, ILuaGameCharacterDamage, ILuaGameCharacterHealth, ILuaVariableSource, Talker, ChatElementOwner, IAnimEventCallback, IAnimEventListener, IAnimEventWrappedBroadcaster, IAnimatable, IAnimationVariableMap, IAnimationVariableRegistry, IAnimationVariableSource, IAnimationVariableSourceContainer, IGrappleable, IGrappleableWrapper, IClothingItemListener, ILuaIsoObject, IsoRenderable, Thumpable
Direct Known Subclasses:
IsoDummyCameraCharacter, IsoLivingCharacter, IsoLuaCharacter, IsoLuaMover, IsoZombie, RandomizedBuildingBase.HumanCorpse

  • Field Details

    • GlovesStrengthBonus

      public static final int GlovesStrengthBonus
      See Also:
    • AwkwardGlovesStrengthDivisor

      public static final int AwkwardGlovesStrengthDivisor
      See Also:
    • ai

      public IsoAIModule ai
    • doDirtBloodEtc

      public boolean doDirtBloodEtc
    • RENDER_OFFSET_X

      public static final int RENDER_OFFSET_X
      See Also:
    • RENDER_OFFSET_Y

      public static final int RENDER_OFFSET_Y
      See Also:
    • s_maxPossibleTwist

      public static final float s_maxPossibleTwist
      See Also:
    • vocalEvent

      public long vocalEvent
    • removedFromWorldMs

      public long removedFromWorldMs
    • amputations

      public final ArrayList<String> amputations
    • hair

      public ModelInstance hair
    • beard

      public ModelInstance beard
    • primaryHandModel

      public ModelInstance primaryHandModel
    • secondaryHandModel

      public ModelInstance secondaryHandModel
    • emitter

      public final BaseCharacterSoundEmitter emitter
    • callOut

      public boolean callOut
    • reanimatedCorpse

      public IsoGameCharacter reanimatedCorpse
    • reanimatedCorpseId

      public int reanimatedCorpseId
    • advancedAnimator

      public final AdvancedAnimator advancedAnimator
    • stateMachineParams

      public final HashMap<State, HashMap<Object,Object>> stateMachineParams
    • bumpNbr

      public int bumpNbr
    • asleep

      public boolean asleep
    • isResting

      public boolean isResting
    • blockTurning

      public boolean blockTurning
    • speedMod

      public float speedMod
    • legsSprite

      public IsoSprite legsSprite
    • knockbackAttackMod

      public float knockbackAttackMod
    • isVisibleToPlayer

      public final boolean[] isVisibleToPlayer
    • savedVehicleX

      public float savedVehicleX
    • savedVehicleY

      public float savedVehicleY
    • savedVehicleSeat

      public short savedVehicleSeat
    • savedVehicleRunning

      public boolean savedVehicleRunning
    • bagsWorn

      public final ArrayList<InventoryContainer> bagsWorn
    • cheats

      public PlayerCheats cheats
    • lightInfo

      public final IsoGameCharacter.LightInfo lightInfo
    • updateEquippedTextures

      public boolean updateEquippedTextures
    • realx

      public float realx
    • realy

      public float realy
    • realz

      public byte realz
    • realState

      public NetworkVariables.ZombieState realState
    • overridePrimaryHandModel

      public String overridePrimaryHandModel
    • overrideSecondaryHandModel

      public String overrideSecondaryHandModel
    • forceNullOverride

      public boolean forceNullOverride
    • usernameDisguised

      public boolean usernameDisguised
    • invRadioFreq

      @Deprecated public ArrayList<Integer> invRadioFreq
      Deprecated.
    • lastAnimalPet

      public long lastAnimalPet
    • vbdebugHitTarget

      public IsoGameCharacter vbdebugHitTarget
    • networkCharacter

      public final NetworkCharacter networkCharacter
  • Constructor Details

    • IsoGameCharacter

      public IsoGameCharacter(IsoCell cell, float x, float y, float z)
  • Method Details

    • isShoveStompAnim

      public boolean isShoveStompAnim()
    • setShoveStompAnim

      public void setShoveStompAnim(boolean in_val)
    • getRecoilVarX

      public float getRecoilVarX()
    • setRecoilVarX

      public void setRecoilVarX(float in_recoilVarX)
    • getRecoilVarY

      public float getRecoilVarY()
    • setRecoilVarY

      public void setRecoilVarY(float in_recoilVarY)
    • setGrappleThrowOutWindow

      public void setGrappleThrowOutWindow(boolean in_newValue)
    • isGrappleThrowOutWindow

      public boolean isGrappleThrowOutWindow()
    • setGrappleThrowOverFence

      public void setGrappleThrowOverFence(boolean in_newValue)
    • isGrappleThrowOverFence

      public boolean isGrappleThrowOverFence()
    • setGrappleThrowIntoContainer

      public void setGrappleThrowIntoContainer(boolean in_newValue)
    • isGrappleThrowIntoContainer

      public boolean isGrappleThrowIntoContainer()
    • updateRecoilVar

      public void updateRecoilVar()
    • getMomentumScalar

      public float getMomentumScalar()
    • setMomentumScalar

      public void setMomentumScalar(float val)
    • getDeferredMovement

      public Vector2 getDeferredMovement(Vector2 out_result)
    • getDeferredMovementFromRagdoll

      public Vector2 getDeferredMovementFromRagdoll(Vector2 out_result)
    • getDeferredAngleDelta

      public float getDeferredAngleDelta()
    • getDeferredRotationWeight

      public float getDeferredRotationWeight()
    • getTargetGrapplePos

      public org.joml.Vector3f getTargetGrapplePos(org.joml.Vector3f out_result)
      Specified by:
      getTargetGrapplePos in interface IGrappleable
      Specified by:
      getTargetGrapplePos in interface IGrappleableWrapper
    • getTargetGrapplePos

      public Vector3 getTargetGrapplePos(Vector3 out_result)
      Specified by:
      getTargetGrapplePos in interface IGrappleable
      Specified by:
      getTargetGrapplePos in interface IGrappleableWrapper
    • setTargetGrapplePos

      public void setTargetGrapplePos(float x, float y, float z)
      Specified by:
      setTargetGrapplePos in interface IGrappleable
      Specified by:
      setTargetGrapplePos in interface IGrappleableWrapper
    • getTargetGrappleRotation

      public Vector2 getTargetGrappleRotation(Vector2 out_result)
      Specified by:
      getTargetGrappleRotation in interface IGrappleable
      Specified by:
      getTargetGrappleRotation in interface IGrappleableWrapper
    • isStrafing

      public boolean isStrafing()
    • dbgGetAnimTrack

      public AnimationTrack dbgGetAnimTrack(int layerIdx, int trackIdx)
    • dbgGetAnimTrackName

      public String dbgGetAnimTrackName(int layerIdx, int trackIdx)
    • dbgGetAnimTrackTime

      public float dbgGetAnimTrackTime(int layerIdx, int trackIdx)
    • dbgGetAnimTrackWeight

      public float dbgGetAnimTrackWeight(int layerIdx, int trackIdx)
    • getTwist

      public float getTwist()
      The character's current twist angle, in degrees.
    • getShoulderTwist

      public float getShoulderTwist()
      The character's current shoulder-twist angle, in degrees.
    • getMaxTwist

      public float getMaxTwist()
      The maximum twist angle, in degrees.
    • setMaxTwist

      public void setMaxTwist(float degrees)
      Specify the maximum twist angle, in degrees.
    • getExcessTwist

      public float getExcessTwist()
      The character's excess twist, in degrees. The excess is > 0 if the character is trying to twist further than their current maximum twist. ie. The amount that the desired twist exceeds the maximum twist. eg. If the character is trying to twist by 90 degrees, but their maximum is set to 70, then excess = 20
    • getNumTwistBones

      public int getNumTwistBones()
    • getAbsoluteExcessTwist

      public float getAbsoluteExcessTwist()
    • getAnimAngleTwistDelta

      public float getAnimAngleTwistDelta()
    • getAnimAngleStepDelta

      public float getAnimAngleStepDelta()
    • getTargetTwist

      public float getTargetTwist()
      The desired twist, unclamped, in degrees.
    • isRangedWeaponEmpty

      public boolean isRangedWeaponEmpty()
      Specified by:
      isRangedWeaponEmpty in interface ILuaGameCharacter
    • setRangedWeaponEmpty

      public void setRangedWeaponEmpty(boolean val)
      Specified by:
      setRangedWeaponEmpty in interface ILuaGameCharacter
    • hasFootInjury

      public boolean hasFootInjury()
    • isInTrees2

      public boolean isInTrees2(boolean ignoreBush)
    • isInTreesNoBush

      public boolean isInTreesNoBush()
    • isInTrees

      public boolean isInTrees()
    • getSurvivorMap

      public static HashMap<Integer, SurvivorDesc> getSurvivorMap()
      Returns:
      the SurvivorMap
    • getLevelUpLevels

      public static int[] getLevelUpLevels()
      Returns:
      the LevelUpLevels
    • getTempo

      public static Vector2 getTempo()
      Returns:
      the tempo
    • getTempo2

      public static Vector2 getTempo2()
    • getInf

      public static ColorInfo getInf()
      Returns:
      the inf
    • getIsNPC

      public boolean getIsNPC()
    • setIsNPC

      public void setIsNPC(boolean isAI)
    • getEmitter

      public BaseCharacterSoundEmitter getEmitter()
      Specified by:
      getEmitter in interface ILuaGameCharacter
    • updateEmitter

      public void updateEmitter()
    • doDeferredMovementFromRagdoll

      public void doDeferredMovementFromRagdoll(Vector2 dMovement)
    • getActionContext

      public ActionContext getActionContext()
      Specified by:
      getActionContext in interface IAnimatable
    • getPreviousActionContextStateName

      public String getPreviousActionContextStateName()
    • getCurrentActionContextStateName

      public String getCurrentActionContextStateName()
    • hasAnimationPlayer

      public boolean hasAnimationPlayer()
      Specified by:
      hasAnimationPlayer in interface IAnimatable
    • getAnimationPlayer

      public AnimationPlayer getAnimationPlayer()
      Specified by:
      getAnimationPlayer in interface IAnimatable
    • releaseAnimationPlayer

      public void releaseAnimationPlayer()
    • isAnimRecorderActive

      public boolean isAnimRecorderActive()
    • setAnimRecorderActive

      public void setAnimRecorderActive(boolean in_isActive, boolean in_isExclusive)
    • getAdvancedAnimator

      public AdvancedAnimator getAdvancedAnimator()
      Specified by:
      getAdvancedAnimator in interface IAnimatable
    • getModelInstance

      public ModelInstance getModelInstance()
      Specified by:
      getModelInstance in interface IAnimatable
    • getCurrentStateName

      public String getCurrentStateName()
    • getPreviousStateName

      public String getPreviousStateName()
    • getAnimationDebug

      public String getAnimationDebug()
    • getStatisticsDebug

      public String getStatisticsDebug()
    • getTalkerType

      public String getTalkerType()
      Specified by:
      getTalkerType in interface Talker
    • spinToZeroAllAnimNodes

      public void spinToZeroAllAnimNodes()
    • isAnimForecasted

      public boolean isAnimForecasted()
    • setAnimForecasted

      public void setAnimForecasted(int timeMs)
    • resetModel

      public void resetModel()
      Specified by:
      resetModel in interface ILuaGameCharacter
    • resetModelNextFrame

      public void resetModelNextFrame()
      Specified by:
      resetModelNextFrame in interface ILuaGameCharacter
    • clothingItemChanged

      public void clothingItemChanged(String itemGuid)
      clothingItemChanged Called when a ClothingItem file has changed on disk, causing the OutfitManager to broadcast this event. Checks if this item is currently used by this player's Outfit. Reloads and re-equips if so.
      Specified by:
      clothingItemChanged in interface IClothingItemListener
      Parameters:
      itemGuid - The item's Globally Unique Identifier (GUID).
    • reloadOutfit

      public void reloadOutfit()
    • setSceneCulled

      public void setSceneCulled(boolean isCulled)
      Specify whether this character is currently not to be drawn, as it is outside the visible area. Eg. Zombies not seen by the player. Objects outside the rendered window etc.
      Specified by:
      setSceneCulled in interface IsoRenderable
      Overrides:
      setSceneCulled in class IsoObject
    • setAddedToModelManager

      public void setAddedToModelManager(ModelManager modelManager, boolean isAdded)
    • isAddedToModelManager

      public boolean isAddedToModelManager()
    • dressInRandomOutfit

      public void dressInRandomOutfit()
      Picks a random outfit from the OutfitManager
    • dressInRandomNonSillyOutfit

      public void dressInRandomNonSillyOutfit()
    • dressInNamedOutfit

      public void dressInNamedOutfit(String outfitName)
      Specified by:
      dressInNamedOutfit in interface ILuaGameCharacterClothing
    • dressInPersistentOutfit

      public void dressInPersistentOutfit(String outfitName)
      Specified by:
      dressInPersistentOutfit in interface ILuaGameCharacterClothing
    • dressInPersistentOutfitID

      public void dressInPersistentOutfitID(int outfitID)
      Specified by:
      dressInPersistentOutfitID in interface ILuaGameCharacterClothing
    • getOutfitName

      public String getOutfitName()
      Specified by:
      getOutfitName in interface ILuaGameCharacterClothing
    • dressInClothingItem

      public void dressInClothingItem(String itemGUID)
    • getRandomDefaultOutfit

      public Outfit getRandomDefaultOutfit()
    • getModel

      public ModelInstance getModel()
    • hasActiveModel

      public boolean hasActiveModel()
    • hasItems

      public boolean hasItems(String type, int count)
      Specified by:
      hasItems in interface ILuaGameCharacter
    • getLevelUpLevels

      public int getLevelUpLevels(int level)
    • getLevelMaxForXp

      public int getLevelMaxForXp()
    • getXpForLevel

      public int getXpForLevel(int level)
      Specified by:
      getXpForLevel in interface ILuaGameCharacter
    • DoDeath

      public void DoDeath(HandWeapon weapon, IsoGameCharacter wielder)
    • DoDeath

      public void DoDeath(HandWeapon in_weapon, IsoGameCharacter in_wielder, boolean in_isGory)
    • onDeath_ShouldDoSplatterAndSounds

      public boolean onDeath_ShouldDoSplatterAndSounds(HandWeapon in_weapon, IsoGameCharacter in_wielder, boolean in_isGory)
    • clearFallDamage

      public void clearFallDamage()
    • getImpactIsoSpeed

      public float getImpactIsoSpeed()
    • DoLand

      public void DoLand(float in_impactIsoSpeed)
    • getContextWorldContainers

      public <T> PZArrayList<ItemContainer> getContextWorldContainers(T in_paramToCompare, Invokers.Params2.Boolean.ICallback<T, ItemContainer> in_isValidPredicate)
    • getContextWorldContainers

      public <T> PZArrayList<ItemContainer> getContextWorldContainers(T in_paramToCompare, Invokers.Params2.Boolean.ICallback<T, ItemContainer> in_isValidPredicate, PZArrayList<ItemContainer> inout_containerList)
    • getContextWorldContainersInObjects

      public <T> PZArrayList<ItemContainer> getContextWorldContainersInObjects(IsoObject[] in_contextObjects, T in_paramToCompare, Invokers.Params2.Boolean.ICallback<T, ItemContainer> in_isValidPredicate, PZArrayList<ItemContainer> inout_containerList)
    • getContextWorldSuitableContainersToDropCorpseInObjects

      public PZArrayList<ItemContainer> getContextWorldSuitableContainersToDropCorpseInObjects(IsoObject[] in_contextObjects)
    • getSuitableContainersToDropCorpseInSquare

      public PZArrayList<ItemContainer> getSuitableContainersToDropCorpseInSquare(IsoGridSquare in_square)
    • getSuitableContainersToDropCorpseInSquare

      public PZArrayList<ItemContainer> getSuitableContainersToDropCorpseInSquare(IsoGridSquare in_square, PZArrayList<ItemContainer> inout_foundContainers)
    • getSuitableContainersToDropCorpse

      public PZArrayList<ItemContainer> getSuitableContainersToDropCorpse()
    • getSuitableContainersToDropCorpse

      public PZArrayList<ItemContainer> getSuitableContainersToDropCorpse(PZArrayList<ItemContainer> inout_foundContainers)
    • getContextWorldContainersWithHumanCorpse

      public PZArrayList<ItemContainer> getContextWorldContainersWithHumanCorpse(IsoObject[] in_contextObjects)
    • getSuitableContainersWithHumanCorpseInSquare

      public PZArrayList<ItemContainer> getSuitableContainersWithHumanCorpseInSquare(IsoGridSquare in_square)
    • getSuitableContainersWithHumanCorpseInSquare

      public PZArrayList<ItemContainer> getSuitableContainersWithHumanCorpseInSquare(IsoGridSquare in_square, PZArrayList<ItemContainer> inout_foundContainers)
    • canDropCorpseInto

      public static boolean canDropCorpseInto(IsoGameCharacter in_chr, ItemContainer in_container)
    • canGrabCorpseFrom

      public static boolean canGrabCorpseFrom(IsoGameCharacter in_chr, ItemContainer in_container)
    • canAccessContainer

      public boolean canAccessContainer(ItemContainer in_container)
    • getContainerToolTip

      public String getContainerToolTip(ItemContainer in_container)
    • getFollowingTarget

      public IsoGameCharacter getFollowingTarget()
      Returns:
      the FollowingTarget
    • setFollowingTarget

      public void setFollowingTarget(IsoGameCharacter FollowingTarget)
      Parameters:
      FollowingTarget - the FollowingTarget to set
    • getLocalList

      public ArrayList<IsoMovingObject> getLocalList()
      Returns:
      the LocalList
    • getLocalNeutralList

      public ArrayList<IsoMovingObject> getLocalNeutralList()
      Returns:
      the LocalNeutralList
    • getLocalGroupList

      public ArrayList<IsoMovingObject> getLocalGroupList()
      Returns:
      the LocalGroupList
    • getLocalRelevantEnemyList

      public ArrayList<IsoMovingObject> getLocalRelevantEnemyList()
      Returns:
      the LocalRelevantEnemyList
    • getDangerLevels

      public float getDangerLevels()
      Returns:
      the dangerLevels
    • setDangerLevels

      public void setDangerLevels(float dangerLevels)
      Parameters:
      dangerLevels - the dangerLevels to set
    • getPerkList

      public ArrayList<IsoGameCharacter.PerkInfo> getPerkList()
    • getLeaveBodyTimedown

      public float getLeaveBodyTimedown()
      Returns:
      the leaveBodyTimedown
    • setLeaveBodyTimedown

      public void setLeaveBodyTimedown(float leaveBodyTimedown)
      Parameters:
      leaveBodyTimedown - the leaveBodyTimedown to set
    • isAllowConversation

      public boolean isAllowConversation()
      Returns:
      the AllowConversation
    • setAllowConversation

      public void setAllowConversation(boolean AllowConversation)
      Parameters:
      AllowConversation - the AllowConversation to set
    • getReanimateTimer

      public float getReanimateTimer()
      Returns:
      the ReanimateTimer
    • setReanimateTimer

      public void setReanimateTimer(float ReanimateTimer)
      Parameters:
      ReanimateTimer - the ReanimateTimer to set
    • getReanimAnimFrame

      public int getReanimAnimFrame()
      Returns:
      the ReanimAnimFrame
    • setReanimAnimFrame

      public void setReanimAnimFrame(int ReanimAnimFrame)
      Parameters:
      ReanimAnimFrame - the ReanimAnimFrame to set
    • getReanimAnimDelay

      public int getReanimAnimDelay()
      Returns:
      the ReanimAnimDelay
    • setReanimAnimDelay

      public void setReanimAnimDelay(int ReanimAnimDelay)
      Parameters:
      ReanimAnimDelay - the ReanimAnimDelay to set
    • isReanim

      public boolean isReanim()
      Returns:
      the Reanim
    • setReanim

      public void setReanim(boolean Reanim)
      Parameters:
      Reanim - the Reanim to set
    • isVisibleToNPCs

      public boolean isVisibleToNPCs()
      Returns:
      the VisibleToNPCs
    • setVisibleToNPCs

      public void setVisibleToNPCs(boolean VisibleToNPCs)
      Parameters:
      VisibleToNPCs - the VisibleToNPCs to set
    • getDieCount

      public int getDieCount()
      Returns:
      the DieCount
    • setDieCount

      public void setDieCount(int DieCount)
      Parameters:
      DieCount - the DieCount to set
    • getLlx

      public float getLlx()
      Returns:
      the llx
    • setLlx

      public void setLlx(float llx)
      Parameters:
      llx - the llx to set
    • getLly

      public float getLly()
      Returns:
      the lly
    • setLly

      public void setLly(float lly)
      Parameters:
      lly - the lly to set
    • getLlz

      public float getLlz()
      Returns:
      the llz
    • setLlz

      public void setLlz(float llz)
      Parameters:
      llz - the llz to set
    • getRemoteID

      public int getRemoteID()
      Returns:
      the RemoteID
    • setRemoteID

      public void setRemoteID(int RemoteID)
      Parameters:
      RemoteID - the RemoteID to set
    • getNumSurvivorsInVicinity

      public int getNumSurvivorsInVicinity()
      Returns:
      the NumSurvivorsInVicinity
    • setNumSurvivorsInVicinity

      public void setNumSurvivorsInVicinity(int NumSurvivorsInVicinity)
      Parameters:
      NumSurvivorsInVicinity - the NumSurvivorsInVicinity to set
    • getLevelUpMultiplier

      public float getLevelUpMultiplier()
      Returns:
      the LevelUpMultiplier
    • setLevelUpMultiplier

      public void setLevelUpMultiplier(float LevelUpMultiplier)
      Parameters:
      LevelUpMultiplier - the LevelUpMultiplier to set
    • getXp

      public IsoGameCharacter.XP getXp()
      Specified by:
      getXp in interface ILuaGameCharacter
      Returns:
      the xp
    • setXp

      @Deprecated public void setXp(IsoGameCharacter.XP xp)
      Deprecated.
      Parameters:
      xp - the xp to set
    • getLastLocalEnemies

      public int getLastLocalEnemies()
      Returns:
      the LastLocalEnemies
    • setLastLocalEnemies

      public void setLastLocalEnemies(int LastLocalEnemies)
      Parameters:
      LastLocalEnemies - the LastLocalEnemies to set
    • getVeryCloseEnemyList

      public ArrayList<IsoMovingObject> getVeryCloseEnemyList()
      Returns:
      the VeryCloseEnemyList
    • getLastKnownLocation

      public HashMap<String, IsoGameCharacter.Location> getLastKnownLocation()
    • getAttackedBy

      public IsoGameCharacter getAttackedBy()
      Returns:
      the AttackedBy
    • setAttackedBy

      public void setAttackedBy(IsoGameCharacter AttackedBy)
      Parameters:
      AttackedBy - the AttackedBy to set
    • isIgnoreStaggerBack

      public boolean isIgnoreStaggerBack()
      Returns:
      the IgnoreStaggerBack
    • setIgnoreStaggerBack

      public void setIgnoreStaggerBack(boolean IgnoreStaggerBack)
      Parameters:
      IgnoreStaggerBack - the IgnoreStaggerBack to set
    • getTimeThumping

      public int getTimeThumping()
      Returns:
      the TimeThumping
    • setTimeThumping

      public void setTimeThumping(int TimeThumping)
      Parameters:
      TimeThumping - the TimeThumping to set
    • getPatienceMax

      public int getPatienceMax()
      Returns:
      the PatienceMax
    • setPatienceMax

      public void setPatienceMax(int PatienceMax)
      Parameters:
      PatienceMax - the PatienceMax to set
    • getPatienceMin

      public int getPatienceMin()
      Returns:
      the PatienceMin
    • setPatienceMin

      public void setPatienceMin(int PatienceMin)
      Parameters:
      PatienceMin - the PatienceMin to set
    • getPatience

      public int getPatience()
      Returns:
      the Patience
    • setPatience

      public void setPatience(int Patience)
      Parameters:
      Patience - the Patience to set
    • getCharacterActions

      public Stack<BaseAction> getCharacterActions()
      Specified by:
      getCharacterActions in interface ILuaGameCharacter
      Returns:
      the CharacterActions
    • hasTimedActions

      public boolean hasTimedActions()
    • isCurrentActionPathfinding

      public boolean isCurrentActionPathfinding()
    • isCurrentActionAllowedWhileDraggingCorpses

      public boolean isCurrentActionAllowedWhileDraggingCorpses()
    • checkCurrentAction

      public boolean checkCurrentAction(Invokers.Params1.Boolean.ICallback<BaseAction> in_checkPredicate)
    • getForwardDirection

      @Deprecated public Vector2 getForwardDirection()
      Deprecated.
      Returns:
      the character's forward direction vector
    • getForwardDirectionX

      public float getForwardDirectionX()
    • getForwardDirectionY

      public float getForwardDirectionY()
    • getForwardDirection

      public Vector2 getForwardDirection(Vector2 out_forwardDirection)
    • setForwardDirection

      public void setForwardDirection(Vector2 dir)
      Parameters:
      dir - The character's new forward direction.
    • setTargetAndCurrentDirection

      public void setTargetAndCurrentDirection(float in_directionX, float in_directionY)
      Specified by:
      setTargetAndCurrentDirection in interface IGrappleable
      Specified by:
      setTargetAndCurrentDirection in interface IGrappleableWrapper
    • setForwardDirection

      public void setForwardDirection(float x, float y)
      Specified by:
      setForwardDirection in interface IGrappleable
    • zeroForwardDirectionX

      public void zeroForwardDirectionX()
    • zeroForwardDirectionY

      public void zeroForwardDirectionY()
    • getDirectionAngleRadians

      public float getDirectionAngleRadians()
    • getDirectionAngle

      public float getDirectionAngle()
      The forward direction angle, in degrees.
    • setDirectionAngle

      public void setDirectionAngle(float in_angleDegrees)
    • getAnimAngle

      public float getAnimAngle()
    • getAnimAngleRadians

      public float getAnimAngleRadians()
    • getAnimVector

      @Deprecated public Vector2 getAnimVector(Vector2 out_animForwardDirection)
      Deprecated.
    • getAnimForwardDirection

      public Vector2 getAnimForwardDirection(Vector2 out_animForwardDirection)
      Specified by:
      getAnimForwardDirection in interface IGrappleable
    • getLookAngleRadians

      public float getLookAngleRadians()
    • getLookVector

      public Vector2 getLookVector(Vector2 vector2)
    • getLookDirectionX

      public float getLookDirectionX()
    • getLookDirectionY

      public float getLookDirectionY()
    • isAnimatingBackwards

      public boolean isAnimatingBackwards()
    • getForwardMovementIsoDirection

      public IsoDirections getForwardMovementIsoDirection()
      Overrides:
      getForwardMovementIsoDirection in class IsoObject
    • setAnimatingBackwards

      public void setAnimatingBackwards(boolean m_isAnimatingBackwards)
    • isDraggingCorpse

      public boolean isDraggingCorpse()
    • getOwner

      public UdpConnection getOwner()
    • setOwner

      public void setOwner(UdpConnection connection)
    • getOwnerPlayer

      public IsoPlayer getOwnerPlayer()
    • setOwnerPlayer

      public void setOwnerPlayer(IsoPlayer player)
    • getDotWithForwardDirection

      public float getDotWithForwardDirection(Vector3 bonePos)
    • getDotWithForwardDirection

      public float getDotWithForwardDirection(float targetX, float targetY)
    • isAsleep

      public boolean isAsleep()
      Specified by:
      isAsleep in interface ILuaGameCharacter
      Returns:
      the Asleep
    • setAsleep

      public void setAsleep(boolean Asleep)
      Specified by:
      setAsleep in interface ILuaGameCharacter
      Parameters:
      Asleep - the Asleep to set
    • isResting

      public boolean isResting()
      Specified by:
      isResting in interface ILuaGameCharacter
    • setIsResting

      public void setIsResting(boolean isResting)
      Specified by:
      setIsResting in interface ILuaGameCharacter
    • getZombieKills

      public int getZombieKills()
      Specified by:
      getZombieKills in interface ILuaGameCharacter
      Returns:
      the ZombieKills
    • setZombieKills

      public void setZombieKills(int ZombieKills)
      Parameters:
      ZombieKills - the ZombieKills to set
    • getLastZombieKills

      public int getLastZombieKills()
      Returns:
      the LastZombieKills
    • setLastZombieKills

      public void setLastZombieKills(int LastZombieKills)
      Parameters:
      LastZombieKills - the LastZombieKills to set
    • getForceWakeUpTime

      public float getForceWakeUpTime()
      Returns:
      the ForceWakeUpTime
    • setForceWakeUpTime

      public void setForceWakeUpTime(float ForceWakeUpTime)
      Specified by:
      setForceWakeUpTime in interface ILuaGameCharacter
      Parameters:
      ForceWakeUpTime - the ForceWakeUpTime to set
    • forceAwake

      public void forceAwake()
    • getBodyDamage

      public BodyDamage getBodyDamage()
      Specified by:
      getBodyDamage in interface ILuaGameCharacterDamage
      Returns:
      the BodyDamage
    • getBodyDamageRemote

      public BodyDamage getBodyDamageRemote()
      Specified by:
      getBodyDamageRemote in interface ILuaGameCharacterDamage
    • resetBodyDamageRemote

      public void resetBodyDamageRemote()
    • getDefaultState

      public State getDefaultState()
      Returns:
      the defaultState
    • setDefaultState

      public void setDefaultState(State defaultState)
      Parameters:
      defaultState - the defaultState to set
    • getDescriptor

      public SurvivorDesc getDescriptor()
      Specified by:
      getDescriptor in interface ILuaGameCharacter
      Returns:
      the descriptor
    • setDescriptor

      public void setDescriptor(SurvivorDesc descriptor)
      Specified by:
      setDescriptor in interface ILuaGameCharacter
      Parameters:
      descriptor - the descriptor to set
    • getFullName

      public String getFullName()
      Specified by:
      getFullName in interface ILuaGameCharacter
    • getVisual

      public BaseVisual getVisual()
      Specified by:
      getVisual in interface ILuaGameCharacter
    • getItemVisuals

      public ItemVisuals getItemVisuals()
    • getItemVisuals

      public void getItemVisuals(ItemVisuals itemVisuals)
    • isUsingWornItems

      public boolean isUsingWornItems()
    • getFamiliarBuildings

      public Stack<IsoBuilding> getFamiliarBuildings()
      Returns:
      the FamiliarBuildings
    • getFinder

      public AStarPathFinderResult getFinder()
      Returns:
      the finder
    • getFireKillRate

      public float getFireKillRate()
      Returns:
      the FireKillRate
    • setFireKillRate

      public void setFireKillRate(float FireKillRate)
      Parameters:
      FireKillRate - the FireKillRate to set
    • getFireSpreadProbability

      public int getFireSpreadProbability()
      Returns:
      the FireSpreadProbability
    • setFireSpreadProbability

      public void setFireSpreadProbability(int FireSpreadProbability)
      Parameters:
      FireSpreadProbability - the FireSpreadProbability to set
    • getHealth

      public float getHealth()
      Specified by:
      getHealth in interface ILuaGameCharacterDamage
      Returns:
      the Health
    • setHealth

      public void setHealth(float Health)
      Specified by:
      setHealth in interface ILuaGameCharacterDamage
      Parameters:
      Health - the Health to set
    • isOnDeathDone

      public boolean isOnDeathDone()
      Specified by:
      isOnDeathDone in interface ILuaGameCharacterDamage
    • setOnDeathDone

      public void setOnDeathDone(boolean done)
      Specified by:
      setOnDeathDone in interface ILuaGameCharacterDamage
    • isOnKillDone

      public boolean isOnKillDone()
      Specified by:
      isOnKillDone in interface ILuaGameCharacterDamage
    • setOnKillDone

      public void setOnKillDone(boolean done)
      Specified by:
      setOnKillDone in interface ILuaGameCharacterDamage
    • isDeathDragDown

      public boolean isDeathDragDown()
      Specified by:
      isDeathDragDown in interface ILuaGameCharacterDamage
    • setDeathDragDown

      public void setDeathDragDown(boolean dragDown)
      Specified by:
      setDeathDragDown in interface ILuaGameCharacterDamage
    • isPlayingDeathSound

      public boolean isPlayingDeathSound()
      Specified by:
      isPlayingDeathSound in interface ILuaGameCharacterDamage
    • setPlayingDeathSound

      public void setPlayingDeathSound(boolean playing)
      Specified by:
      setPlayingDeathSound in interface ILuaGameCharacterDamage
    • getHurtSound

      public String getHurtSound()
      Returns:
      the hurtSound
    • setHurtSound

      public void setHurtSound(String hurtSound)
      Parameters:
      hurtSound - the hurtSound to set
    • isIgnoreMovementForDirection

      @Deprecated public boolean isIgnoreMovementForDirection()
      Deprecated.
      Returns:
      the IgnoreMovementForDirection
    • getInventory

      public ItemContainer getInventory()
      Specified by:
      getInventory in interface ILuaGameCharacter
      Returns:
      the inventory
    • setInventory

      public void setInventory(ItemContainer inventory)
      Parameters:
      inventory - the inventory to set
    • isPrimaryEquipped

      public boolean isPrimaryEquipped(String item)
    • getPrimaryHandItem

      public InventoryItem getPrimaryHandItem()
      Specified by:
      getPrimaryHandItem in interface ILuaGameCharacter
      Returns:
      the leftHandItem
    • setPrimaryHandItem

      public void setPrimaryHandItem(InventoryItem leftHandItem)
      Specified by:
      setPrimaryHandItem in interface ILuaGameCharacter
      Parameters:
      leftHandItem - the leftHandItem to set
    • getAttackingWeapon

      public HandWeapon getAttackingWeapon()
    • initWornItems

      public void initWornItems(String bodyLocationGroupName)
    • getWornItems

      public WornItems getWornItems()
      Specified by:
      getWornItems in interface ILuaGameCharacterClothing
    • setWornItems

      public void setWornItems(WornItems other)
      Specified by:
      setWornItems in interface ILuaGameCharacterClothing
    • getWornItem

      public InventoryItem getWornItem(ItemBodyLocation itemBodyLocation)
      Specified by:
      getWornItem in interface ILuaGameCharacterClothing
    • setWornItem

      public void setWornItem(ItemBodyLocation location, InventoryItem item)
      Specified by:
      setWornItem in interface ILuaGameCharacterClothing
    • setWornItem

      public void setWornItem(ItemBodyLocation location, InventoryItem item, boolean forceDropTooHeavy)
    • removeWornItem

      public void removeWornItem(InventoryItem item)
      Specified by:
      removeWornItem in interface ILuaGameCharacterClothing
    • removeWornItem

      public void removeWornItem(InventoryItem item, boolean forceDropTooHeavy)
    • clearWornItems

      public void clearWornItems()
      Specified by:
      clearWornItems in interface ILuaGameCharacterClothing
    • getBodyLocationGroup

      public BodyLocationGroup getBodyLocationGroup()
      Specified by:
      getBodyLocationGroup in interface ILuaGameCharacterClothing
    • onWornItemsChanged

      public void onWornItemsChanged()
    • initAttachedItems

      public void initAttachedItems(String groupName)
    • getAttachedItems

      public AttachedItems getAttachedItems()
      Specified by:
      getAttachedItems in interface ILuaGameCharacterAttachedItems
    • setAttachedItems

      public void setAttachedItems(AttachedItems other)
      Specified by:
      setAttachedItems in interface ILuaGameCharacterAttachedItems
    • getAttachedItem

      public InventoryItem getAttachedItem(String location)
      Specified by:
      getAttachedItem in interface ILuaGameCharacterAttachedItems
    • setAttachedItem

      public void setAttachedItem(String location, InventoryItem item)
      Specified by:
      setAttachedItem in interface ILuaGameCharacterAttachedItems
    • removeAttachedItem

      public void removeAttachedItem(InventoryItem item)
      Specified by:
      removeAttachedItem in interface ILuaGameCharacterAttachedItems
    • clearAttachedItems

      public void clearAttachedItems()
      Specified by:
      clearAttachedItems in interface ILuaGameCharacterAttachedItems
    • getAttachedLocationGroup

      public AttachedLocationGroup getAttachedLocationGroup()
      Specified by:
      getAttachedLocationGroup in interface ILuaGameCharacterAttachedItems
    • getClothingWetness

      public ClothingWetness getClothingWetness()
    • getClothingItem_Head

      public InventoryItem getClothingItem_Head()
      Returns:
      the ClothingItem_Head
    • setClothingItem_Head

      public void setClothingItem_Head(InventoryItem item)
      Specified by:
      setClothingItem_Head in interface ILuaGameCharacterClothing
      Parameters:
      item - the ClothingItem_Head to set
    • getClothingItem_Torso

      public InventoryItem getClothingItem_Torso()
      Returns:
      the ClothingItem_Torso
    • setClothingItem_Torso

      public void setClothingItem_Torso(InventoryItem item)
      Specified by:
      setClothingItem_Torso in interface ILuaGameCharacterClothing
    • getClothingItem_Back

      public InventoryItem getClothingItem_Back()
    • setClothingItem_Back

      public void setClothingItem_Back(InventoryItem item)
      Specified by:
      setClothingItem_Back in interface ILuaGameCharacterClothing
    • getClothingItem_Hands

      public InventoryItem getClothingItem_Hands()
      Returns:
      the ClothingItem_Hands
    • setClothingItem_Hands

      public void setClothingItem_Hands(InventoryItem item)
      Specified by:
      setClothingItem_Hands in interface ILuaGameCharacterClothing
      Parameters:
      item - the ClothingItem_Hands to set
    • getClothingItem_Legs

      public InventoryItem getClothingItem_Legs()
      Returns:
      the ClothingItem_Legs
    • setClothingItem_Legs

      public void setClothingItem_Legs(InventoryItem item)
      Specified by:
      setClothingItem_Legs in interface ILuaGameCharacterClothing
      Parameters:
      item - the ClothingItem_Legs to set
    • getClothingItem_Feet

      public InventoryItem getClothingItem_Feet()
      Returns:
      the ClothingItem_Feet
    • setClothingItem_Feet

      public void setClothingItem_Feet(InventoryItem item)
      Specified by:
      setClothingItem_Feet in interface ILuaGameCharacterClothing
      Parameters:
      item - the ClothingItem_Feet to set
    • getNextWander

      public int getNextWander()
      Returns:
      the NextWander
    • setNextWander

      public void setNextWander(int NextWander)
      Parameters:
      NextWander - the NextWander to set
    • isOnFire

      public boolean isOnFire()
      Specified by:
      isOnFire in interface ILuaGameCharacterDamage
      Returns:
      the OnFire
    • setOnFire

      public void setOnFire(boolean OnFire)
      Parameters:
      OnFire - the OnFire to set
    • removeFromWorld

      public void removeFromWorld()
      Overrides:
      removeFromWorld in class IsoMovingObject
    • getPathIndex

      public int getPathIndex()
      Returns:
      the pathIndex
    • setPathIndex

      public void setPathIndex(int pathIndex)
      Parameters:
      pathIndex - the pathIndex to set
    • getPathTargetX

      public int getPathTargetX()
      Returns:
      the PathTargetX
    • getPathTargetY

      public int getPathTargetY()
      Returns:
      the PathTargetY
    • getPathTargetZ

      public int getPathTargetZ()
      Returns:
      the PathTargetZ
    • getSecondaryHandItem

      public InventoryItem getSecondaryHandItem()
      Specified by:
      getSecondaryHandItem in interface ILuaGameCharacter
      Returns:
      the rightHandItem
    • setSecondaryHandItem

      public void setSecondaryHandItem(InventoryItem rightHandItem)
      Specified by:
      setSecondaryHandItem in interface ILuaGameCharacter
      Parameters:
      rightHandItem - the rightHandItem to set
    • isHandItem

      public boolean isHandItem(InventoryItem item)
      Specified by:
      isHandItem in interface ILuaGameCharacter
    • isPrimaryHandItem

      public boolean isPrimaryHandItem(InventoryItem item)
      Specified by:
      isPrimaryHandItem in interface ILuaGameCharacter
    • isSecondaryHandItem

      public boolean isSecondaryHandItem(InventoryItem item)
      Specified by:
      isSecondaryHandItem in interface ILuaGameCharacter
    • isItemInBothHands

      public boolean isItemInBothHands(InventoryItem item)
      Specified by:
      isItemInBothHands in interface ILuaGameCharacter
    • removeFromHands

      public boolean removeFromHands(InventoryItem item)
      Specified by:
      removeFromHands in interface ILuaGameCharacter
    • getSpeakColour

      public Color getSpeakColour()
      Returns:
      the SpeakColour
    • setSpeakColour

      public void setSpeakColour(Color SpeakColour)
      Parameters:
      SpeakColour - the SpeakColour to set
    • setSpeakColourInfo

      public void setSpeakColourInfo(ColorInfo info)
      Specified by:
      setSpeakColourInfo in interface ILuaGameCharacter
    • getSlowFactor

      public float getSlowFactor()
      Returns:
      the slowFactor
    • setSlowFactor

      public void setSlowFactor(float slowFactor)
      Parameters:
      slowFactor - the slowFactor to set
    • getSlowTimer

      public float getSlowTimer()
      Returns:
      the slowTimer
    • setSlowTimer

      public void setSlowTimer(float slowTimer)
      Parameters:
      slowTimer - the slowTimer to set
    • isbUseParts

      public boolean isbUseParts()
      Returns:
      the bUseParts
    • setbUseParts

      public void setbUseParts(boolean useParts)
      Parameters:
      useParts - the bUseParts to set
    • isSpeaking

      public boolean isSpeaking()
      Specified by:
      isSpeaking in interface ILuaGameCharacter
      Returns:
      the Speaking
    • setSpeaking

      public void setSpeaking(boolean Speaking)
      Parameters:
      Speaking - the Speaking to set
    • getSpeakTime

      public float getSpeakTime()
      Returns:
      the SpeakTime
    • setSpeakTime

      public void setSpeakTime(int SpeakTime)
      Parameters:
      SpeakTime - the SpeakTime to set
    • getSpeedMod

      public float getSpeedMod()
      Returns:
      the speedMod
    • setSpeedMod

      public void setSpeedMod(float speedMod)
      Parameters:
      speedMod - the speedMod to set
    • getStaggerTimeMod

      public float getStaggerTimeMod()
      Returns:
      the staggerTimeMod
    • setStaggerTimeMod

      public void setStaggerTimeMod(float staggerTimeMod)
      Parameters:
      staggerTimeMod - the staggerTimeMod to set
    • getStateMachine

      public StateMachine getStateMachine()
      Returns:
      the stateMachine
    • getMoodles

      public Moodles getMoodles()
      Specified by:
      getMoodles in interface ILuaGameCharacter
      Returns:
      the Moodles
    • getStats

      public Stats getStats()
      Specified by:
      getStats in interface ILuaGameCharacter
      Returns:
      the stats
    • getUsedItemsOn

      public Stack<String> getUsedItemsOn()
      Returns:
      the UsedItemsOn
    • getUseHandWeapon

      public HandWeapon getUseHandWeapon()
      Returns:
      the useHandWeapon
    • setUseHandWeapon

      public void setUseHandWeapon(HandWeapon useHandWeapon)
      Parameters:
      useHandWeapon - the useHandWeapon to set
    • getLegsSprite

      public IsoSprite getLegsSprite()
      Returns:
      the legsSprite
    • setLegsSprite

      public void setLegsSprite(IsoSprite legsSprite)
      Parameters:
      legsSprite - the legsSprite to set
    • getAttackTargetSquare

      public IsoGridSquare getAttackTargetSquare()
      Returns:
      the attackTargetSquare
    • setAttackTargetSquare

      public void setAttackTargetSquare(IsoGridSquare attackTargetSquare)
      Parameters:
      attackTargetSquare - the attackTargetSquare to set
    • getBloodImpactX

      public float getBloodImpactX()
      Returns:
      the BloodImpactX
    • setBloodImpactX

      public void setBloodImpactX(float BloodImpactX)
      Parameters:
      BloodImpactX - the BloodImpactX to set
    • getBloodImpactY

      public float getBloodImpactY()
      Returns:
      the BloodImpactY
    • setBloodImpactY

      public void setBloodImpactY(float BloodImpactY)
      Parameters:
      BloodImpactY - the BloodImpactY to set
    • getBloodImpactZ

      public float getBloodImpactZ()
      Returns:
      the BloodImpactZ
    • setBloodImpactZ

      public void setBloodImpactZ(float BloodImpactZ)
      Parameters:
      BloodImpactZ - the BloodImpactZ to set
    • getBloodSplat

      public IsoSprite getBloodSplat()
      Returns:
      the bloodSplat
    • setBloodSplat

      public void setBloodSplat(IsoSprite bloodSplat)
      Parameters:
      bloodSplat - the bloodSplat to set
    • isbOnBed

      @Deprecated public boolean isbOnBed()
      Deprecated.
      Returns:
      the bOnBed
    • setbOnBed

      @Deprecated public void setbOnBed(boolean onBed)
      Deprecated.
      Parameters:
      onBed - the bOnBed to set
    • isOnBed

      public boolean isOnBed()
    • setOnBed

      public void setOnBed(boolean bOnBed)
    • getMoveForwardVec

      public Vector2 getMoveForwardVec()
      Returns:
      the moveForwardVec
    • setMoveForwardVec

      public void setMoveForwardVec(Vector2 moveForwardVec)
      Parameters:
      moveForwardVec - the moveForwardVec to set
    • isPathing

      public boolean isPathing()
      Returns:
      the pathing
    • setPathing

      public void setPathing(boolean pathing)
      Parameters:
      pathing - the pathing to set
    • getLocalEnemyList

      public Stack<IsoGameCharacter> getLocalEnemyList()
      Returns:
      the LocalEnemyList
    • getEnemyList

      public Stack<IsoGameCharacter> getEnemyList()
      Returns:
      the EnemyList
    • getCharacterTraits

      public CharacterTraits getCharacterTraits()
      Specified by:
      getCharacterTraits in interface ILuaGameCharacter
    • getMaxWeight

      public int getMaxWeight()
      Specified by:
      getMaxWeight in interface ILuaGameCharacter
      Returns:
      the maxWeight
    • setMaxWeight

      public void setMaxWeight(int maxWeight)
      Parameters:
      maxWeight - the maxWeight to set
    • getMaxWeightBase

      public int getMaxWeightBase()
      Returns:
      the maxWeightBase
    • setMaxWeightBase

      public void setMaxWeightBase(int maxWeightBase)
      Parameters:
      maxWeightBase - the maxWeightBase to set
    • getSleepingTabletDelta

      public float getSleepingTabletDelta()
      Returns:
      the SleepingTabletDelta
    • setSleepingTabletDelta

      public void setSleepingTabletDelta(float SleepingTabletDelta)
      Parameters:
      SleepingTabletDelta - the SleepingTabletDelta to set
    • getBetaEffect

      public float getBetaEffect()
      Returns:
      the BetaEffect
    • setBetaEffect

      public void setBetaEffect(float BetaEffect)
      Parameters:
      BetaEffect - the BetaEffect to set
    • getDepressEffect

      public float getDepressEffect()
      Returns:
      the DepressEffect
    • setDepressEffect

      public void setDepressEffect(float DepressEffect)
      Parameters:
      DepressEffect - the DepressEffect to set
    • getSleepingTabletEffect

      public float getSleepingTabletEffect()
      Specified by:
      getSleepingTabletEffect in interface ILuaGameCharacterHealth
      Returns:
      the SleepingTabletEffect
    • setSleepingTabletEffect

      public void setSleepingTabletEffect(float SleepingTabletEffect)
      Specified by:
      setSleepingTabletEffect in interface ILuaGameCharacterHealth
      Parameters:
      SleepingTabletEffect - the SleepingTabletEffect to set
    • getBetaDelta

      public float getBetaDelta()
      Returns:
      the BetaDelta
    • setBetaDelta

      public void setBetaDelta(float BetaDelta)
      Parameters:
      BetaDelta - the BetaDelta to set
    • getDepressDelta

      public float getDepressDelta()
      Returns:
      the DepressDelta
    • setDepressDelta

      public void setDepressDelta(float DepressDelta)
      Parameters:
      DepressDelta - the DepressDelta to set
    • getPainEffect

      public float getPainEffect()
      Returns:
      the PainEffect
    • setPainEffect

      public void setPainEffect(float PainEffect)
      Parameters:
      PainEffect - the PainEffect to set
    • getPainDelta

      public float getPainDelta()
      Returns:
      the PainDelta
    • setPainDelta

      public void setPainDelta(float PainDelta)
      Parameters:
      PainDelta - the PainDelta to set
    • isbDoDefer

      public boolean isbDoDefer()
      Returns:
      the bDoDefer
    • setbDoDefer

      public void setbDoDefer(boolean doDefer)
      Parameters:
      doDefer - the bDoDefer to set
    • getLastHeardSound

      public IsoGameCharacter.Location getLastHeardSound()
      Returns:
      the LastHeardSound
    • setLastHeardSound

      public void setLastHeardSound(int x, int y, int z)
    • isClimbing

      public boolean isClimbing()
      Returns:
      the bClimbing
    • setbClimbing

      public void setbClimbing(boolean climbing)
      Parameters:
      climbing - the bClimbing to set
    • isLastCollidedW

      public boolean isLastCollidedW()
      Returns:
      the lastCollidedW
    • setLastCollidedW

      public void setLastCollidedW(boolean lastCollidedW)
      Parameters:
      lastCollidedW - the lastCollidedW to set
    • isLastCollidedN

      public boolean isLastCollidedN()
      Returns:
      the lastCollidedN
    • setLastCollidedN

      public void setLastCollidedN(boolean lastCollidedN)
      Parameters:
      lastCollidedN - the lastCollidedN to set
    • getFallTime

      public float getFallTime()
      Returns:
      the fallTime
    • getFallSpeedSeverity

      public FallSeverity getFallSpeedSeverity()
    • setFallTime

      public void setFallTime(float fallTime)
      Parameters:
      fallTime - the fallTime to set
    • getLastFallSpeed

      public float getLastFallSpeed()
      Returns:
      the lastFallSpeed
    • setLastFallSpeed

      public void setLastFallSpeed(float lastFallSpeed)
      Parameters:
      lastFallSpeed - the lastFallSpeed to set
    • isbFalling

      public boolean isbFalling()
      Returns:
      the bFalling
    • setbFalling

      public void setbFalling(boolean falling)
      Parameters:
      falling - the bFalling to set
    • getCurrentBuilding

      public IsoBuilding getCurrentBuilding()
      Overrides:
      getCurrentBuilding in class IsoMovingObject
    • getCurrentBuildingDef

      public BuildingDef getCurrentBuildingDef()
    • getCurrentRoomDef

      public RoomDef getCurrentRoomDef()
    • getTorchStrength

      public float getTorchStrength()
    • getAnimEventBroadcaster

      public AnimEventBroadcaster getAnimEventBroadcaster()
      Specified by:
      getAnimEventBroadcaster in interface IAnimEventWrappedBroadcaster
    • OnAnimEvent

      public void OnAnimEvent(AnimLayer sender, AnimationTrack track, AnimEvent event)
      Specified by:
      OnAnimEvent in interface IAnimEventCallback
    • onRagdollSimulationStarted

      public void onRagdollSimulationStarted()
    • getHammerSoundMod

      public float getHammerSoundMod()
      Specified by:
      getHammerSoundMod in interface ILuaGameCharacter
    • getWeldingSoundMod

      public float getWeldingSoundMod()
      Specified by:
      getWeldingSoundMod in interface ILuaGameCharacter
    • getBarricadeTimeMod

      public float getBarricadeTimeMod()
    • getMetalBarricadeStrengthMod

      public float getMetalBarricadeStrengthMod()
    • getBarricadeStrengthMod

      public float getBarricadeStrengthMod()
    • getSneakSpotMod

      public float getSneakSpotMod()
    • getNimbleMod

      public float getNimbleMod()
    • getFatigueMod

      public float getFatigueMod()
      Specified by:
      getFatigueMod in interface ILuaGameCharacterHealth
    • getLightfootMod

      public float getLightfootMod()
    • getPacingMod

      public float getPacingMod()
    • getHyperthermiaMod

      public float getHyperthermiaMod()
    • getHittingMod

      public float getHittingMod()
    • getShovingMod

      public float getShovingMod()
    • getRecoveryMod

      public float getRecoveryMod()
    • getWeightMod

      public float getWeightMod()
    • getHitChancesMod

      public int getHitChancesMod()
    • getSprintMod

      public float getSprintMod()
    • getPerkLevel

      public int getPerkLevel(PerkFactory.Perk perks)
      Return the current lvl of a perk (skill)
      Specified by:
      getPerkLevel in interface ILuaGameCharacter
    • setPerkLevelDebug

      public void setPerkLevelDebug(PerkFactory.Perk perks, int level)
      Specified by:
      setPerkLevelDebug in interface ILuaGameCharacter
    • LoseLevel

      public void LoseLevel(PerkFactory.Perk perk)
      Specified by:
      LoseLevel in interface ILuaGameCharacter
    • LevelPerk

      public void LevelPerk(PerkFactory.Perk perk, boolean removePick)
      Level up a perk (max lvl 5)
      Specified by:
      LevelPerk in interface ILuaGameCharacter
      Parameters:
      perk - the perk to lvl up
      removePick - did we remove a skill pts ? (for example passiv skill automatically lvl up, without consuming skill pts)
    • LevelPerk

      public void LevelPerk(PerkFactory.Perk perk)
      Level up a perk (max lvl 5)
      Specified by:
      LevelPerk in interface ILuaGameCharacter
      Parameters:
      perk - the perk to lvl up (a skill points is removed)
    • level0

      public void level0(PerkFactory.Perk perk)
    • getLastKnownLocationOf

      public IsoGameCharacter.Location getLastKnownLocationOf(String character)
    • ReadLiterature

      public void ReadLiterature(Literature literature)
      Used when you read a book, magazine or newspaper
      Specified by:
      ReadLiterature in interface ILuaGameCharacter
      Parameters:
      literature - the book to read
    • OnDeath

      public void OnDeath()
    • splatBloodFloorBig

      public void splatBloodFloorBig()
    • splatBloodFloor

      public void splatBloodFloor()
    • getThreatLevel

      public int getThreatLevel()
    • isDead

      public boolean isDead()
    • isAlive

      public boolean isAlive()
    • isEditingRagdoll

      public boolean isEditingRagdoll()
    • setEditingRagdoll

      public void setEditingRagdoll(boolean value)
    • isRagdoll

      public boolean isRagdoll()
    • setRagdollFall

      public void setRagdollFall(boolean value)
    • isRagdollFall

      public boolean isRagdollFall()
    • isVehicleCollision

      public boolean isVehicleCollision()
    • setVehicleCollision

      public void setVehicleCollision(boolean value)
    • useRagdollVehicleCollision

      public boolean useRagdollVehicleCollision()
    • isUpright

      public boolean isUpright()
    • isOnBack

      public boolean isOnBack()
    • usePhysicHitReaction

      public boolean usePhysicHitReaction()
    • setUsePhysicHitReaction

      public void setUsePhysicHitReaction(boolean usePhysicHitReaction)
    • isRagdollSimulationActive

      public boolean isRagdollSimulationActive()
    • Seen

      public void Seen(Stack<IsoMovingObject> SeenList)
    • CanSee

      public boolean CanSee(IsoMovingObject obj)
    • CanSee

      public boolean CanSee(IsoObject obj)
    • getLowDangerInVicinity

      public IsoGridSquare getLowDangerInVicinity(int attempts, int range)
    • hasEquipped

      public boolean hasEquipped(String itemType)
      Specified by:
      hasEquipped in interface ILuaGameCharacter
    • hasEquippedTag

      public boolean hasEquippedTag(ItemTag itemTag)
      Specified by:
      hasEquippedTag in interface ILuaGameCharacter
    • hasWornTag

      public boolean hasWornTag(ItemTag itemTag)
      Specified by:
      hasWornTag in interface ILuaGameCharacter
    • setForwardIsoDirection

      public void setForwardIsoDirection(IsoDirections directions)
      Specified by:
      setForwardIsoDirection in interface ILuaIsoObject
      Overrides:
      setForwardIsoDirection in class IsoObject
    • setForwardDirectionFromIsoDirection

      public void setForwardDirectionFromIsoDirection()
    • setForwardDirectionFromAnimAngle

      public void setForwardDirectionFromAnimAngle()
    • Callout

      public void Callout(boolean doAnim)
    • Callout

      public void Callout()
      Specified by:
      Callout in interface ILuaGameCharacter
    • load

      public void load(ByteBuffer input, int WorldVersion, boolean IS_DEBUG_SAVE) throws IOException
      Overrides:
      load in class IsoMovingObject
      Throws:
      IOException
    • getDescription

      public String getDescription(String in_separatorStr)
      Overrides:
      getDescription in class IsoMovingObject
    • save

      public void save(ByteBuffer output, boolean IS_DEBUG_SAVE) throws IOException
      Overrides:
      save in class IsoMovingObject
      Throws:
      IOException
    • getChatElement

      public ChatElement getChatElement()
    • StartAction

      public void StartAction(BaseAction act)
      Specified by:
      StartAction in interface ILuaGameCharacter
    • QueueAction

      public void QueueAction(BaseAction act)
    • StopAllActionQueue

      public void StopAllActionQueue()
      Specified by:
      StopAllActionQueue in interface ILuaGameCharacter
    • StopAllActionQueueRunning

      public void StopAllActionQueueRunning()
    • StopAllActionQueueAiming

      public void StopAllActionQueueAiming()
    • StopAllActionQueueWalking

      public void StopAllActionQueueWalking()
    • GetAnimSetName

      public String GetAnimSetName()
      Specified by:
      GetAnimSetName in interface IAnimatable
    • SleepingTablet

      public void SleepingTablet(float SleepingTabletDelta)
    • BetaBlockers

      public void BetaBlockers(float delta)
    • BetaAntiDepress

      public void BetaAntiDepress(float delta)
    • PainMeds

      public void PainMeds(float delta)
    • initSpritePartsEmpty

      public void initSpritePartsEmpty()
      Specified by:
      initSpritePartsEmpty in interface ILuaGameCharacter
    • InitSpriteParts

      public void InitSpriteParts(SurvivorDesc desc)
    • hasTrait

      public boolean hasTrait(CharacterTrait characterTrait)
      Specified by:
      hasTrait in interface ILuaGameCharacter
    • ApplyInBedOffset

      public void ApplyInBedOffset(boolean apply)
    • Dressup

      public void Dressup(SurvivorDesc desc)
      Specified by:
      Dressup in interface ILuaGameCharacterClothing
    • setPathSpeed

      public void setPathSpeed(float speed)
    • PlayAnim

      public void PlayAnim(String string)
      Specified by:
      PlayAnim in interface ILuaGameCharacter
    • PlayAnimWithSpeed

      public void PlayAnimWithSpeed(String string, float framesSpeedPerFrame)
      Specified by:
      PlayAnimWithSpeed in interface ILuaGameCharacter
    • PlayAnimUnlooped

      public void PlayAnimUnlooped(String string)
      Specified by:
      PlayAnimUnlooped in interface ILuaGameCharacter
    • DirectionFromVector

      public void DirectionFromVector(Vector2 vecA)
    • DoFootstepSound

      public void DoFootstepSound(String type)
    • DoFootstepSound

      public void DoFootstepSound(float volume)
    • Eat

      public boolean Eat(InventoryItem info, float percentage)
      Specified by:
      Eat in interface ILuaGameCharacterHealth
    • EatOnClient

      public boolean EatOnClient(InventoryItem info, float percentage)
    • Eat

      public boolean Eat(InventoryItem info, float percentage, boolean useUtensil)
      Specified by:
      Eat in interface ILuaGameCharacterHealth
    • Eat

      public boolean Eat(InventoryItem info)
      Specified by:
      Eat in interface ILuaGameCharacterHealth
    • DrinkFluid

      public boolean DrinkFluid(InventoryItem info, float percentage)
      Specified by:
      DrinkFluid in interface ILuaGameCharacterHealth
    • DrinkFluid

      public boolean DrinkFluid(InventoryItem info, float percentage, boolean useUtensil)
      Specified by:
      DrinkFluid in interface ILuaGameCharacterHealth
    • DrinkFluid

      public boolean DrinkFluid(FluidContainer fluidCont, float percentage)
      Specified by:
      DrinkFluid in interface ILuaGameCharacterHealth
    • DrinkFluid

      public boolean DrinkFluid(FluidContainer fluidCont, float percentage, boolean useUtensil)
      Specified by:
      DrinkFluid in interface ILuaGameCharacterHealth
    • DrinkFluid

      public boolean DrinkFluid(InventoryItem info)
      Specified by:
      DrinkFluid in interface ILuaGameCharacterHealth
    • FireCheck

      public void FireCheck()
    • getPrimaryHandType

      public String getPrimaryHandType()
    • getGlobalMovementMod

      public float getGlobalMovementMod(boolean bDoNoises)
      Overrides:
      getGlobalMovementMod in class IsoMovingObject
    • getMovementSpeed

      public float getMovementSpeed()
    • getSecondaryHandType

      public String getSecondaryHandType()
    • HasItem

      public boolean HasItem(String string)
    • changeState

      public void changeState(State state)
      Specified by:
      changeState in interface ILuaGameCharacter
    • getCurrentState

      public State getCurrentState()
      Specified by:
      getCurrentState in interface ILuaGameCharacter
    • isCurrentState

      public boolean isCurrentState(State state)
      Specified by:
      isCurrentState in interface ILuaGameCharacter
    • isCurrentGameClientState

      public boolean isCurrentGameClientState(State state)
    • getStateMachineParams

      public HashMap<Object,Object> getStateMachineParams(State state)
    • setStateMachineLocked

      public void setStateMachineLocked(boolean val)
    • Hit

      public float Hit(HandWeapon weapon, IsoGameCharacter wielder, float damageSplit, boolean bIgnoreDamage, float modDelta)
      Specified by:
      Hit in interface ILuaGameCharacterDamage
      Overrides:
      Hit in class IsoMovingObject
    • Hit

      public float Hit(HandWeapon weapon, IsoGameCharacter wielder, float damageSplit, boolean bIgnoreDamage, float modDelta, boolean bRemote)
      Specified by:
      Hit in interface ILuaGameCharacterDamage
    • processHitDamage

      public float processHitDamage(HandWeapon weapon, IsoGameCharacter wielder, float damageSplit, boolean bIgnoreDamage, float modDelta)
    • hitConsequences

      public void hitConsequences(HandWeapon weapon, IsoGameCharacter wielder, boolean bIgnoreDamage, float damage, boolean bRemote)
    • IsAttackRange

      public boolean IsAttackRange(float x, float y, float z)
    • isMeleeAttackRange

      public boolean isMeleeAttackRange(HandWeapon handWeapon, IsoMovingObject isoMovingObject, Vector3 bonePos)
    • IsSpeaking

      public boolean IsSpeaking()
      Specified by:
      IsSpeaking in interface ILuaGameCharacter
      Specified by:
      IsSpeaking in interface Talker
    • IsSpeakingNPC

      public boolean IsSpeakingNPC()
    • MoveForward

      public void MoveForward(float dist, float x, float y, float soundDelta)
    • pathToCharacter

      public void pathToCharacter(IsoGameCharacter target)
    • pathToLocation

      public void pathToLocation(int x, int y, int z)
      Specified by:
      pathToLocation in interface ILuaGameCharacter
    • pathToLocationF

      public void pathToLocationF(float x, float y, float z)
      Specified by:
      pathToLocationF in interface ILuaGameCharacter
    • pathToSound

      public void pathToSound(int x, int y, int z)
    • CanAttack

      public boolean CanAttack()
    • isEnduranceSufficientForAction

      public boolean isEnduranceSufficientForAction()
      Specified by:
      isEnduranceSufficientForAction in interface ILuaGameCharacter
    • ReduceHealthWhenBurning

      public void ReduceHealthWhenBurning()
    • DrawSneezeText

      @Deprecated public void DrawSneezeText()
      Deprecated.
    • getSpriteDef

      public IsoSpriteInstance getSpriteDef()
      Specified by:
      getSpriteDef in interface ILuaGameCharacter
    • render

      public void render(float x, float y, float z, ColorInfo col, boolean bDoChild, boolean bWallLightingPass, Shader shader)
      Specified by:
      render in interface IsoRenderable
      Overrides:
      render in class IsoObject
    • renderServerGUI

      public void renderServerGUI()
    • isSeatedInVehicle

      public boolean isSeatedInVehicle()
    • renderObjectPicker

      public void renderObjectPicker(float x, float y, float z, ColorInfo lightInfo)
      Overrides:
      renderObjectPicker in class IsoObject
    • calculateShadowParams

      public ShadowParams calculateShadowParams(ShadowParams sp)
    • calculateShadowParams

      public static ShadowParams calculateShadowParams(AnimationPlayer animationPlayer, float animalSize, boolean bRagdoll, ShadowParams sp)
    • renderShadow

      public void renderShadow(float x, float y, float z)
    • checkUpdateModelTextures

      public void checkUpdateModelTextures()
    • isMaskClicked

      public boolean isMaskClicked(int x, int y, boolean flip)
      Overrides:
      isMaskClicked in class IsoObject
    • setHaloNote

      public void setHaloNote(String str)
      Specified by:
      setHaloNote in interface ILuaGameCharacter
    • setHaloNote

      public void setHaloNote(String str, float dispTime)
      Specified by:
      setHaloNote in interface ILuaGameCharacter
    • setHaloNote

      public void setHaloNote(String str, int r, int g, int b, float dispTime)
      Specified by:
      setHaloNote in interface ILuaGameCharacter
    • getHaloTimerCount

      public float getHaloTimerCount()
    • DoSneezeText

      public void DoSneezeText()
    • getSayLine

      public String getSayLine()
      Specified by:
      getSayLine in interface Talker
    • setSayLine

      public void setSayLine(String sayLine)
      Parameters:
      sayLine - the sayLine to set
    • getLastChatMessage

      public ChatMessage getLastChatMessage()
    • setLastChatMessage

      public void setLastChatMessage(ChatMessage lastChatMessage)
    • getLastSpokenLine

      public String getLastSpokenLine()
    • setLastSpokenLine

      public void setLastSpokenLine(String line)
    • SayDebug

      public void SayDebug(String text)
    • SayDebug

      public void SayDebug(int n, String text)
    • getMaxChatLines

      public int getMaxChatLines()
    • Say

      public void Say(String line)
      Specified by:
      Say in interface ILuaGameCharacter
      Specified by:
      Say in interface Talker
    • Say

      public void Say(String line, float r, float g, float b, UIFont font, float baseRange, String customTag)
      Specified by:
      Say in interface ILuaGameCharacter
    • SayWhisper

      public void SayWhisper(String line)
    • SayShout

      public void SayShout(String line)
    • SayRadio

      public void SayRadio(String line, float r, float g, float b, UIFont font, float baseRange, int channel, String customTag)
    • addLineChatElement

      public void addLineChatElement(String line)
    • addLineChatElement

      public void addLineChatElement(String line, float r, float g, float b)
    • addLineChatElement

      public void addLineChatElement(String line, float r, float g, float b, UIFont font, float baseRange, String customTag)
    • addLineChatElement

      public void addLineChatElement(String line, float r, float g, float b, UIFont font, float baseRange, String customTag, boolean bbcode, boolean img, boolean icons, boolean colors, boolean fonts, boolean equalizeHeights)
    • getUserNameHeight

      public int getUserNameHeight()
    • updateTextObjects

      public void updateTextObjects()
    • renderlast

      public void renderlast()
      Overrides:
      renderlast in class IsoMovingObject
    • drawLine

      public void drawLine(Vector2 startPos, Vector2 dir, float length, float r, float g, float b)
    • calcCarForwardVector

      public Vector2 calcCarForwardVector()
    • carMovingBackward

      public boolean carMovingBackward(Vector2 carSpeed)
    • calcCarPositionOffset

      public Vector2 calcCarPositionOffset(boolean movingBackward)
    • calcLengthMultiplier

      public float calcLengthMultiplier(Vector2 carSpeed, boolean movingBackward)
    • calcCarSpeedVector

      public Vector2 calcCarSpeedVector(Vector2 offset)
    • calcCarSpeedVector

      public Vector2 calcCarSpeedVector()
    • calcCarToPlayerVector

      public Vector2 calcCarToPlayerVector(IsoGameCharacter target, Vector2 offset)
    • calcCarToPlayerVector

      public Vector2 calcCarToPlayerVector(IsoGameCharacter target)
    • calcConeAngleOffset

      public float calcConeAngleOffset(IsoGameCharacter target, boolean movingBackward)
    • calcConeAngleMultiplier

      public float calcConeAngleMultiplier(IsoGameCharacter target, boolean movingBackward)
    • drawDirectionLine

      public void drawDirectionLine(Vector2 dir, float length, float r, float g, float b)
    • drawDebugTextBelow

      public void drawDebugTextBelow(String text)
    • getEquipedRadio

      public Radio getEquipedRadio()
    • setDefaultState

      public void setDefaultState()
    • SetOnFire

      public void SetOnFire()
    • StopBurning

      public void StopBurning()
      Specified by:
      StopBurning in interface ILuaGameCharacterDamage
    • SpreadFireMP

      public void SpreadFireMP()
    • SpreadFire

      public void SpreadFire()
    • Throw

      public void Throw(HandWeapon weapon)
    • helmetFall

      public boolean helmetFall(boolean hitHead)
    • smashCarWindow

      public void smashCarWindow(VehiclePart part)
      Specified by:
      smashCarWindow in interface ILuaGameCharacter
    • smashWindow

      public void smashWindow(IsoWindow w)
      Specified by:
      smashWindow in interface ILuaGameCharacter
    • openWindow

      public void openWindow(IsoWindow w)
      Specified by:
      openWindow in interface ILuaGameCharacter
    • closeWindow

      public void closeWindow(IsoWindow w)
      Specified by:
      closeWindow in interface ILuaGameCharacter
    • climbThroughWindow

      public void climbThroughWindow(IsoWindow w)
      Specified by:
      climbThroughWindow in interface ILuaGameCharacter
    • climbThroughWindow

      public void climbThroughWindow(IsoWindow w, Integer startingFrame)
      Specified by:
      climbThroughWindow in interface ILuaGameCharacter
    • isClosingWindow

      public boolean isClosingWindow(IsoWindow window)
    • isClimbingThroughWindow

      public boolean isClimbingThroughWindow(IsoWindow window)
    • climbThroughWindowFrame

      public void climbThroughWindowFrame(IsoWindowFrame windowFrame)
      Specified by:
      climbThroughWindowFrame in interface ILuaGameCharacter
    • climbSheetRope

      public void climbSheetRope()
      Specified by:
      climbSheetRope in interface ILuaGameCharacter
    • climbDownSheetRope

      public void climbDownSheetRope()
      Specified by:
      climbDownSheetRope in interface ILuaGameCharacter
    • canClimbSheetRope

      public boolean canClimbSheetRope(IsoGridSquare sq)
      Specified by:
      canClimbSheetRope in interface ILuaGameCharacter
    • canClimbDownSheetRopeInCurrentSquare

      public boolean canClimbDownSheetRopeInCurrentSquare()
      Specified by:
      canClimbDownSheetRopeInCurrentSquare in interface ILuaGameCharacter
    • canClimbDownSheetRope

      public boolean canClimbDownSheetRope(IsoGridSquare sq)
      Specified by:
      canClimbDownSheetRope in interface ILuaGameCharacter
    • climbThroughWindow

      public void climbThroughWindow(IsoThumpable w)
      Specified by:
      climbThroughWindow in interface ILuaGameCharacter
    • climbThroughWindow

      public void climbThroughWindow(IsoThumpable w, Integer startingFrame)
      Specified by:
      climbThroughWindow in interface ILuaGameCharacter
    • climbOverFence

      public void climbOverFence(IsoDirections dir)
      Specified by:
      climbOverFence in interface ILuaGameCharacter
    • isAboveTopOfStairs

      public boolean isAboveTopOfStairs()
      Specified by:
      isAboveTopOfStairs in interface ILuaGameCharacter
    • throwGrappledTargetOutWindow

      public void throwGrappledTargetOutWindow(IsoObject windowObject)
    • throwGrappledOverFence

      public void throwGrappledOverFence(IsoObject hoppableObject, IsoDirections dir)
    • throwGrappledIntoInventory

      public void throwGrappledIntoInventory(ItemContainer in_targetContainer)
    • pickUpCorpseItem

      public void pickUpCorpseItem(InventoryItem item)
    • pickUpCorpse

      public void pickUpCorpse(IsoDeadBody in_body, String in_dragType)
    • calculateGrappleEffectivenessFromTraits

      public float calculateGrappleEffectivenessFromTraits()
    • preupdate

      public void preupdate()
      Overrides:
      preupdate in class IsoMovingObject
    • updateHandEquips

      public void updateHandEquips()
    • update

      public void update()
      Overrides:
      update in class IsoMovingObject
    • isPushedByForSeparate

      public boolean isPushedByForSeparate(IsoMovingObject other)
      Overrides:
      isPushedByForSeparate in class IsoMovingObject
    • setHitDir

      public void setHitDir(Vector2 hitDir)
      Overrides:
      setHitDir in class IsoMovingObject
      Parameters:
      hitDir - the hitDir to set
    • getHitDirEnum

      public String getHitDirEnum()
    • getHoursSurvived

      public double getHoursSurvived()
      Specified by:
      getHoursSurvived in interface ILuaGameCharacter
    • shouldBeFalling

      public boolean shouldBeFalling()
    • getHeightAboveFloor

      public float getHeightAboveFloor()
    • calculateBaseSpeed

      public float calculateBaseSpeed()
    • calculateCombatSpeed

      public float calculateCombatSpeed()
    • updateSpeedModifiers

      public void updateSpeedModifiers()
    • updateDiscomfortModifiers

      public void updateDiscomfortModifiers()
    • DoFloorSplat

      public void DoFloorSplat(IsoGridSquare sq, String id, boolean bFlip, float offZ, float alpha)
    • onMouseLeftClick

      public boolean onMouseLeftClick(int x, int y)
      Overrides:
      onMouseLeftClick in class IsoObject
    • faceDirection

      public void faceDirection(IsoDirections dir)
    • faceLocation

      public void faceLocation(float x, float y)
    • faceLocationF

      public void faceLocationF(float x, float y)
    • isFacingLocation

      public boolean isFacingLocation(float x, float y, float dot)
    • isFacingObject

      public boolean isFacingObject(IsoObject object, float dot)
    • splatBlood

      public void splatBlood(int dist, float alpha)
    • isOutside

      public boolean isOutside()
      Specified by:
      isOutside in interface ILuaGameCharacter
      Overrides:
      isOutside in class GameEntity
    • isFemale

      public boolean isFemale()
      Specified by:
      isFemale in interface ILuaGameCharacter
    • setFemale

      public void setFemale(boolean isFemale)
      Specified by:
      setFemale in interface ILuaGameCharacter
    • isZombie

      public boolean isZombie()
      Specified by:
      isZombie in interface ILuaGameCharacter
      Overrides:
      isZombie in class IsoObject
    • getLastHitCount

      public int getLastHitCount()
      Specified by:
      getLastHitCount in interface ILuaGameCharacterDamage
    • setLastHitCount

      public void setLastHitCount(int hitCount)
      Specified by:
      setLastHitCount in interface ILuaGameCharacterDamage
    • getSurvivorKills

      public int getSurvivorKills()
    • setSurvivorKills

      public void setSurvivorKills(int survivorKills)
    • getAge

      public int getAge()
    • setAge

      public void setAge(int age)
    • exert

      public void exert(float f)
    • getPerkInfo

      public IsoGameCharacter.PerkInfo getPerkInfo(PerkFactory.Perk perk)
      Specified by:
      getPerkInfo in interface ILuaGameCharacter
    • isEquipped

      public boolean isEquipped(InventoryItem item)
      Specified by:
      isEquipped in interface ILuaGameCharacter
    • isEquippedClothing

      public boolean isEquippedClothing(InventoryItem item)
      Specified by:
      isEquippedClothing in interface ILuaGameCharacter
    • isAttachedItem

      public boolean isAttachedItem(InventoryItem item)
      Specified by:
      isAttachedItem in interface ILuaGameCharacter
    • faceThisObject

      public void faceThisObject(IsoObject object)
      Specified by:
      faceThisObject in interface ILuaGameCharacter
    • facePosition

      public void facePosition(int x, int y)
      Specified by:
      facePosition in interface ILuaGameCharacter
    • faceThisObjectAlt

      public void faceThisObjectAlt(IsoObject object)
      Specified by:
      faceThisObjectAlt in interface ILuaGameCharacter
    • setAnimated

      public void setAnimated(boolean b)
    • playHurtSound

      public long playHurtSound()
    • playDeadSound

      public void playDeadSound()
    • saveChange

      public void saveChange(String change, se.krka.kahlua.vm.KahluaTable tbl, ByteBuffer bb)
      Overrides:
      saveChange in class IsoObject
    • loadChange

      public void loadChange(String change, ByteBuffer bb)
      Overrides:
      loadChange in class IsoObject
    • getAlreadyReadPages

      public int getAlreadyReadPages(String fullType)
      Specified by:
      getAlreadyReadPages in interface ILuaGameCharacter
    • setAlreadyReadPages

      public void setAlreadyReadPages(String fullType, int pages)
      Specified by:
      setAlreadyReadPages in interface ILuaGameCharacter
    • updateLightInfo

      public void updateLightInfo()
    • initLightInfo2

      public IsoGameCharacter.LightInfo initLightInfo2()
    • getLightInfo2

      public IsoGameCharacter.LightInfo getLightInfo2()
    • postupdate

      public void postupdate()
      Overrides:
      postupdate in class IsoMovingObject
    • getAnimationTimeDelta

      public float getAnimationTimeDelta()
    • updateForServerGui

      public void updateForServerGui()
    • isAnimationUpdatingThisFrame

      public boolean isAnimationUpdatingThisFrame()
    • shouldBeTurning

      public boolean shouldBeTurning()
    • shouldBeTurning90

      public boolean shouldBeTurning90()
    • shouldBeTurningAround

      public boolean shouldBeTurningAround()
    • isTurning

      public boolean isTurning()
    • isTurningAround

      public boolean isTurningAround()
    • isTurning90

      public boolean isTurning90()
    • hasPath

      public boolean hasPath()
    • isAnimationRecorderActive

      public boolean isAnimationRecorderActive()
      Specified by:
      isAnimationRecorderActive in interface IAnimatable
    • getAnimationPlayerRecorder

      public AnimationPlayerRecorder getAnimationPlayerRecorder()
      Specified by:
      getAnimationPlayerRecorder in interface IAnimatable
    • getMeleeDelay

      public float getMeleeDelay()
      Specified by:
      getMeleeDelay in interface ILuaGameCharacter
    • setMeleeDelay

      public void setMeleeDelay(float delay)
      Specified by:
      setMeleeDelay in interface ILuaGameCharacter
    • getRecoilDelay

      public float getRecoilDelay()
      Specified by:
      getRecoilDelay in interface ILuaGameCharacter
    • setRecoilDelay

      public void setRecoilDelay(float recoilDelay)
      Specified by:
      setRecoilDelay in interface ILuaGameCharacter
    • getAimingDelay

      public float getAimingDelay()
    • setAimingDelay

      public void setAimingDelay(float aimingDelay)
    • resetAimingDelay

      public void resetAimingDelay()
    • updateAimingDelay

      public void updateAimingDelay()
    • getBeenMovingFor

      public float getBeenMovingFor()
    • setBeenMovingFor

      public void setBeenMovingFor(float beenMovingFor)
    • getClickSound

      public String getClickSound()
    • setClickSound

      public void setClickSound(String clickSound)
    • getMeleeCombatMod

      public int getMeleeCombatMod()
    • getWeaponLevel

      public int getWeaponLevel()
      Specified by:
      getWeaponLevel in interface ILuaGameCharacter
    • getWeaponLevel

      public int getWeaponLevel(HandWeapon weapon)
      Specified by:
      getWeaponLevel in interface ILuaGameCharacter
    • getMaintenanceMod

      public int getMaintenanceMod()
      Specified by:
      getMaintenanceMod in interface ILuaGameCharacter
    • getVehicle

      public BaseVehicle getVehicle()
      Specified by:
      getVehicle in interface ILuaGameCharacter
    • setVehicle

      public void setVehicle(BaseVehicle v)
      Specified by:
      setVehicle in interface ILuaGameCharacter
    • isUnderVehicle

      public boolean isUnderVehicle()
    • isUnderVehicleRadius

      public boolean isUnderVehicleRadius(float radius)
    • isBeingSteppedOn

      public boolean isBeingSteppedOn()
    • getReduceInfectionPower

      public float getReduceInfectionPower()
      Specified by:
      getReduceInfectionPower in interface ILuaGameCharacterHealth
    • setReduceInfectionPower

      public void setReduceInfectionPower(float reduceInfectionPower)
      Specified by:
      setReduceInfectionPower in interface ILuaGameCharacterHealth
    • getInventoryWeight

      public float getInventoryWeight()
      Specified by:
      getInventoryWeight in interface ILuaGameCharacter
    • dropHandItems

      public void dropHandItems()
    • dropHeldItems

      public void dropHeldItems(int x, int y, int z, boolean heavy)
    • shouldBecomeZombieAfterDeath

      public boolean shouldBecomeZombieAfterDeath()
    • modifyTraitXPBoost

      public void modifyTraitXPBoost(CharacterTrait characterTrait, boolean isRemovingTrait)
      Specified by:
      modifyTraitXPBoost in interface ILuaGameCharacter
    • modifyTraitXPBoost

      public void modifyTraitXPBoost(CharacterTraitDefinition trait, boolean isRemovingTrait)
      Specified by:
      modifyTraitXPBoost in interface ILuaGameCharacter
    • applyTraits

      public void applyTraits(List<CharacterTrait> luaTraits)
    • applyProfessionRecipes

      public void applyProfessionRecipes()
    • applyCharacterTraitsRecipes

      public void applyCharacterTraitsRecipes()
    • createKeyRing

      public InventoryItem createKeyRing()
    • createKeyRing

      public InventoryItem createKeyRing(ItemKey itemKey)
    • autoDrink

      public void autoDrink()
    • getWaterSource

      public InventoryItem getWaterSource(ArrayList<InventoryItem> items)
    • getKnownRecipes

      public List<String> getKnownRecipes()
      Specified by:
      getKnownRecipes in interface ILuaGameCharacter
    • isRecipeKnown

      public boolean isRecipeKnown(Recipe recipe)
      Specified by:
      isRecipeKnown in interface ILuaGameCharacter
    • isRecipeKnown

      public boolean isRecipeKnown(CraftRecipe recipe)
    • isRecipeKnown

      public boolean isRecipeKnown(CraftRecipe recipe, boolean ignoreSandbox)
    • isRecipeKnown

      public boolean isRecipeKnown(String name)
      Specified by:
      isRecipeKnown in interface ILuaGameCharacter
    • isRecipeKnown

      public boolean isRecipeKnown(String name, boolean ignoreSandbox)
    • isRecipeActuallyKnown

      public boolean isRecipeActuallyKnown(CraftRecipe recipe)
    • isRecipeActuallyKnown

      public boolean isRecipeActuallyKnown(String name)
    • learnRecipe

      public boolean learnRecipe(String name)
    • learnRecipe

      public boolean learnRecipe(String name, boolean checkMetaRecipe)
    • addKnownMediaLine

      public void addKnownMediaLine(String guid)
      Specified by:
      addKnownMediaLine in interface ILuaGameCharacter
    • removeKnownMediaLine

      public void removeKnownMediaLine(String guid)
      Specified by:
      removeKnownMediaLine in interface ILuaGameCharacter
    • clearKnownMediaLines

      public void clearKnownMediaLines()
      Specified by:
      clearKnownMediaLines in interface ILuaGameCharacter
    • isKnownMediaLine

      public boolean isKnownMediaLine(String guid)
      Specified by:
      isKnownMediaLine in interface ILuaGameCharacter
    • isMoving

      public boolean isMoving()
      Specified by:
      isMoving in interface IGrappleable
    • isBehaviourMoving

      public boolean isBehaviourMoving()
    • isPlayerMoving

      public boolean isPlayerMoving()
    • setMoving

      public void setMoving(boolean val)
    • isAttacking

      public boolean isAttacking()
    • isZombieAttacking

      public boolean isZombieAttacking()
    • isZombieAttacking

      public boolean isZombieAttacking(IsoMovingObject other)
    • compareMovePriority

      public int compareMovePriority(IsoGameCharacter other)
    • playSound

      public long playSound(String file)
      Specified by:
      playSound in interface ILuaGameCharacter
    • playSoundLocal

      public long playSoundLocal(String file)
      Specified by:
      playSoundLocal in interface ILuaGameCharacter
    • stopOrTriggerSound

      public void stopOrTriggerSound(long eventInstance)
      Specified by:
      stopOrTriggerSound in interface ILuaGameCharacter
    • playDropItemSound

      public long playDropItemSound(InventoryItem item)
    • playWeaponHitArmourSound

      public long playWeaponHitArmourSound(int partIndex, boolean bullet)
    • addWorldSoundUnlessInvisible

      public void addWorldSoundUnlessInvisible(int radius, int volume, boolean bStressHumans)
      Specified by:
      addWorldSoundUnlessInvisible in interface ILuaGameCharacter
    • isKnownPoison

      public boolean isKnownPoison(InventoryItem item)
      Specified by:
      isKnownPoison in interface ILuaGameCharacter
    • isKnownPoison

      public boolean isKnownPoison(Item item)
      Specified by:
      isKnownPoison in interface ILuaGameCharacter
    • getLastHourSleeped

      public int getLastHourSleeped()
      Specified by:
      getLastHourSleeped in interface ILuaGameCharacterHealth
    • setLastHourSleeped

      public void setLastHourSleeped(int lastHourSleeped)
      Specified by:
      setLastHourSleeped in interface ILuaGameCharacterHealth
    • setTimeOfSleep

      public void setTimeOfSleep(float timeOfSleep)
      Specified by:
      setTimeOfSleep in interface ILuaGameCharacterHealth
    • setDelayToSleep

      public void setDelayToSleep(float delay)
    • getBedType

      public String getBedType()
      Specified by:
      getBedType in interface ILuaGameCharacter
    • setBedType

      public void setBedType(String bedType)
      Specified by:
      setBedType in interface ILuaGameCharacter
    • enterVehicle

      public void enterVehicle(BaseVehicle v, int seat, org.joml.Vector3f offset)
    • Hit

      public float Hit(BaseVehicle vehicle, float speed, boolean isHitFromBehind, float hitDirX, float hitDirY)
      Specified by:
      Hit in interface ILuaGameCharacterDamage
    • getPath2

      public Path getPath2()
      Specified by:
      getPath2 in interface ILuaGameCharacter
    • setPath2

      public void setPath2(Path path)
      Specified by:
      setPath2 in interface ILuaGameCharacter
    • getPathFindBehavior2

      public PathFindBehavior2 getPathFindBehavior2()
      Specified by:
      getPathFindBehavior2 in interface ILuaGameCharacter
    • getMapKnowledge

      public MapKnowledge getMapKnowledge()
    • getBed

      public IsoObject getBed()
      Specified by:
      getBed in interface ILuaGameCharacter
    • setBed

      public void setBed(IsoObject bed)
      Specified by:
      setBed in interface ILuaGameCharacter
    • avoidDamage

      public boolean avoidDamage()
    • setAvoidDamage

      public void setAvoidDamage(boolean avoid)
    • isReading

      public boolean isReading()
      Specified by:
      isReading in interface ILuaGameCharacter
    • setReading

      public void setReading(boolean isReading)
      Specified by:
      setReading in interface ILuaGameCharacter
    • getTimeSinceLastSmoke

      public float getTimeSinceLastSmoke()
      Specified by:
      getTimeSinceLastSmoke in interface ILuaGameCharacter
    • setTimeSinceLastSmoke

      public void setTimeSinceLastSmoke(float timeSinceLastSmoke)
      Specified by:
      setTimeSinceLastSmoke in interface ILuaGameCharacter
    • isInvisible

      public boolean isInvisible()
      Specified by:
      isInvisible in interface ILuaGameCharacter
    • setInvisible

      public void setInvisible(boolean b)
      Specified by:
      setInvisible in interface ILuaGameCharacter
    • setInvisible

      public void setInvisible(boolean b, boolean isForced)
    • isCanUseBrushTool

      public boolean isCanUseBrushTool()
    • setCanUseBrushTool

      public void setCanUseBrushTool(boolean b)
    • canUseLootTool

      public boolean canUseLootTool()
    • setCanUseLootTool

      public void setCanUseLootTool(boolean b)
    • canUseDebugContextMenu

      public boolean canUseDebugContextMenu()
    • setCanUseDebugContextMenu

      public void setCanUseDebugContextMenu(boolean b)
    • isDriving

      public boolean isDriving()
      Specified by:
      isDriving in interface ILuaGameCharacter
    • isInARoom

      public boolean isInARoom()
      Specified by:
      isInARoom in interface ILuaGameCharacter
    • isGodMod

      public boolean isGodMod()
      Specified by:
      isGodMod in interface ILuaGameCharacter
    • isInvulnerable

      public boolean isInvulnerable()
    • setInvulnerable

      public void setInvulnerable(boolean invulnerable)
    • setZombiesDontAttack

      public void setZombiesDontAttack(boolean b)
    • isZombiesDontAttack

      public boolean isZombiesDontAttack()
    • setGodMod

      public void setGodMod(boolean b, boolean isForced)
    • setGodMod

      public void setGodMod(boolean b)
      Specified by:
      setGodMod in interface ILuaGameCharacter
    • isUnlimitedCarry

      public boolean isUnlimitedCarry()
      Specified by:
      isUnlimitedCarry in interface ILuaGameCharacter
    • setUnlimitedCarry

      public void setUnlimitedCarry(boolean unlimitedCarry)
      Specified by:
      setUnlimitedCarry in interface ILuaGameCharacter
    • isBuildCheat

      public boolean isBuildCheat()
      Specified by:
      isBuildCheat in interface ILuaGameCharacter
    • setBuildCheat

      public void setBuildCheat(boolean buildCheat)
      Specified by:
      setBuildCheat in interface ILuaGameCharacter
    • isFarmingCheat

      public boolean isFarmingCheat()
      Specified by:
      isFarmingCheat in interface ILuaGameCharacter
    • setFarmingCheat

      public void setFarmingCheat(boolean b)
      Specified by:
      setFarmingCheat in interface ILuaGameCharacter
    • isFishingCheat

      public boolean isFishingCheat()
      Specified by:
      isFishingCheat in interface ILuaGameCharacter
    • setFishingCheat

      public void setFishingCheat(boolean b)
      Specified by:
      setFishingCheat in interface ILuaGameCharacter
    • isHealthCheat

      public boolean isHealthCheat()
      Specified by:
      isHealthCheat in interface ILuaGameCharacter
    • setHealthCheat

      public void setHealthCheat(boolean healthCheat)
      Specified by:
      setHealthCheat in interface ILuaGameCharacter
    • isMechanicsCheat

      public boolean isMechanicsCheat()
      Specified by:
      isMechanicsCheat in interface ILuaGameCharacter
    • setMechanicsCheat

      public void setMechanicsCheat(boolean mechanicsCheat)
      Specified by:
      setMechanicsCheat in interface ILuaGameCharacter
    • isFastMoveCheat

      public boolean isFastMoveCheat()
    • setFastMoveCheat

      public void setFastMoveCheat(boolean b)
    • isMovablesCheat

      public boolean isMovablesCheat()
      Specified by:
      isMovablesCheat in interface ILuaGameCharacter
    • setMovablesCheat

      public void setMovablesCheat(boolean b)
      Specified by:
      setMovablesCheat in interface ILuaGameCharacter
    • isAnimalCheat

      public boolean isAnimalCheat()
      Specified by:
      isAnimalCheat in interface ILuaGameCharacter
    • setAnimalCheat

      public void setAnimalCheat(boolean b)
      Specified by:
      setAnimalCheat in interface ILuaGameCharacter
    • isTimedActionInstantCheat

      public boolean isTimedActionInstantCheat()
      Specified by:
      isTimedActionInstantCheat in interface ILuaGameCharacter
    • setTimedActionInstantCheat

      public void setTimedActionInstantCheat(boolean b)
      Specified by:
      setTimedActionInstantCheat in interface ILuaGameCharacter
    • isTimedActionInstant

      public boolean isTimedActionInstant()
      Specified by:
      isTimedActionInstant in interface ILuaGameCharacter
    • isShowAdminTag

      public boolean isShowAdminTag()
      Specified by:
      isShowAdminTag in interface ILuaGameCharacter
    • setShowAdminTag

      public void setShowAdminTag(boolean showAdminTag)
      Specified by:
      setShowAdminTag in interface ILuaGameCharacter
    • getGameVariables

      public Iterable<IAnimationVariableSlot> getGameVariables()
      Description copied from interface: IAnimationVariableSource
      Specified by:
      getGameVariables in interface IAnimationVariableSource
      Specified by:
      getGameVariables in interface IAnimationVariableSourceContainer
    • getVariable

      public IAnimationVariableSlot getVariable(AnimationVariableHandle handle)
      Description copied from interface: IAnimationVariableSource
      Specified by:
      getVariable in interface IAnimationVariableSource
      Specified by:
      getVariable in interface IAnimationVariableSourceContainer
    • setVariable

      public void setVariable(IAnimationVariableSlot var)
      Description copied from interface: IAnimationVariableMap
      Specified by:
      setVariable in interface IAnimationVariableMap
    • setVariable

      public IAnimationVariableSlot setVariable(String key, String value)
      Specified by:
      setVariable in interface IAnimationVariableMap
    • setVariable

      public IAnimationVariableSlot setVariable(String key, boolean value)
      Specified by:
      setVariable in interface IAnimationVariableMap
    • setVariable

      public IAnimationVariableSlot setVariable(String key, float value)
      Specified by:
      setVariable in interface IAnimationVariableMap
    • setVariableEnum

      public <EnumType extends Enum<EnumType>> IAnimationVariableSlot setVariableEnum(String in_key, EnumType in_val)
      Specified by:
      setVariableEnum in interface IAnimationVariableMap
    • setVariable

      public IAnimationVariableSlot setVariable(AnimationVariableHandle handle, boolean value)
      Specified by:
      setVariable in interface IAnimationVariableMap
    • clearVariable

      public void clearVariable(String in_key)
      Specified by:
      clearVariable in interface IAnimationVariableMap
    • clearVariables

      public void clearVariables()
      Specified by:
      clearVariables in interface IAnimationVariableMap
    • getSubVariableSource

      public IAnimationVariableSource getSubVariableSource(String in_subVariableSourceName)
      Specified by:
      getSubVariableSource in interface IAnimationVariableSource
    • getGameVariablesInternal

      public AnimationVariableSource getGameVariablesInternal()
      Specified by:
      getGameVariablesInternal in interface IAnimationVariableRegistry
      Specified by:
      getGameVariablesInternal in interface IAnimationVariableSourceContainer
    • startPlaybackGameVariables

      public AnimationVariableSource startPlaybackGameVariables()
    • endPlaybackGameVariables

      public void endPlaybackGameVariables(AnimationVariableSource playbackVars)
    • playbackSetCurrentStateSnapshot

      public void playbackSetCurrentStateSnapshot(ActionStateSnapshot snapshot)
    • playbackRecordCurrentStateSnapshot

      public ActionStateSnapshot playbackRecordCurrentStateSnapshot()
    • GetVariable

      public String GetVariable(String key)
      Specified by:
      GetVariable in interface ILuaVariableSource
    • SetVariable

      public void SetVariable(String key, String value)
      Specified by:
      SetVariable in interface ILuaVariableSource
    • ClearVariable

      public void ClearVariable(String key)
      Specified by:
      ClearVariable in interface ILuaVariableSource
    • actionStateChanged

      public void actionStateChanged(ActionContext sender)
      Specified by:
      actionStateChanged in interface IActionStateChanged
    • isFallOnFront

      public boolean isFallOnFront()
      Specified by:
      isFallOnFront in interface IGrappleable
    • setFallOnFront

      public void setFallOnFront(boolean fallOnFront)
      Specified by:
      setFallOnFront in interface IGrappleable
    • isHitFromBehind

      public boolean isHitFromBehind()
    • setHitFromBehind

      public void setHitFromBehind(boolean hitFromBehind)
    • isKilledBySlicingWeapon

      public boolean isKilledBySlicingWeapon()
    • reportEvent

      public void reportEvent(String name)
      Specified by:
      reportEvent in interface ILuaGameCharacter
    • StartTimedActionAnim

      public void StartTimedActionAnim(String event)
      Specified by:
      StartTimedActionAnim in interface ILuaGameCharacter
    • StartTimedActionAnim

      public void StartTimedActionAnim(String event, String type)
      Specified by:
      StartTimedActionAnim in interface ILuaGameCharacter
    • StopTimedActionAnim

      public void StopTimedActionAnim()
      Specified by:
      StopTimedActionAnim in interface ILuaGameCharacter
    • hasHitReaction

      public boolean hasHitReaction()
    • getHitReaction

      public String getHitReaction()
    • setHitReaction

      public void setHitReaction(String in_hitReaction)
    • CacheEquipped

      public void CacheEquipped()
    • GetPrimaryEquippedCache

      public InventoryItem GetPrimaryEquippedCache()
    • GetSecondaryEquippedCache

      public InventoryItem GetSecondaryEquippedCache()
    • ClearEquippedCache

      public void ClearEquippedCache()
    • isObjectBehind

      public boolean isObjectBehind(IsoObject obj)
    • isBehind

      public boolean isBehind(IsoGameCharacter chr)
    • resetEquippedHandsModels

      public void resetEquippedHandsModels()
    • getDebugMonitor

      public AnimatorDebugMonitor getDebugMonitor()
      Specified by:
      getDebugMonitor in interface ILuaGameCharacter
    • setDebugMonitor

      public void setDebugMonitor(AnimatorDebugMonitor monitor)
      Specified by:
      setDebugMonitor in interface ILuaGameCharacter
    • isAimAtFloor

      public boolean isAimAtFloor()
    • setAimAtFloor

      public void setAimAtFloor(boolean in_aimAtFloor)
    • setAimAtFloor

      public void setAimAtFloor(boolean in_aimAtFloor, float in_targetDistance)
    • aimAtFloorTargetDistance

      public float aimAtFloorTargetDistance()
    • getAimAtFloorAmount

      public float getAimAtFloorAmount()
    • getCurrentVerticalAimAngle

      public float getCurrentVerticalAimAngle()
    • setCurrentVerticalAimAngle

      public void setCurrentVerticalAimAngle(float in_verticalAimAngleDegrees)
    • setTargetVerticalAimAngle

      public void setTargetVerticalAimAngle(float in_verticalAimAngleDegrees)
    • getTargetVerticalAimAngle

      public float getTargetVerticalAimAngle()
    • isDeferredMovementEnabled

      public boolean isDeferredMovementEnabled()
    • setDeferredMovementEnabled

      public void setDeferredMovementEnabled(boolean deferredMovementEnabled)
    • testDotSide

      public String testDotSide(IsoMovingObject target)
    • addBasicPatch

      public void addBasicPatch(BloodBodyPartType part)
    • addHole

      public boolean addHole(BloodBodyPartType part)
      Specified by:
      addHole in interface ILuaGameCharacterDamage
    • addHole

      public boolean addHole(BloodBodyPartType part, boolean allLayers)
    • addDirt

      public void addDirt(BloodBodyPartType part, Integer nbr, boolean allLayers)
    • addLotsOfDirt

      public void addLotsOfDirt(BloodBodyPartType part, Integer nbr, boolean allLayers)
    • addBlood

      public void addBlood(BloodBodyPartType part, boolean scratched, boolean bitten, boolean allLayers)
      Specified by:
      addBlood in interface ILuaGameCharacterDamage
    • bodyPartIsSpiked

      public boolean bodyPartIsSpiked(Integer part)
    • bodyPartIsSpikedBehind

      public boolean bodyPartIsSpikedBehind(Integer part)
    • getBodyPartClothingDefense

      public float getBodyPartClothingDefense(Integer part, boolean bite, boolean bullet)
    • isBumped

      public boolean isBumped()
      Specified by:
      isBumped in interface ILuaGameCharacterDamage
    • isBumpDone

      public boolean isBumpDone()
    • setBumpDone

      public void setBumpDone(boolean val)
    • isBumpFall

      public boolean isBumpFall()
    • setBumpFall

      public void setBumpFall(boolean val)
    • isBumpStaggered

      public boolean isBumpStaggered()
    • setBumpStaggered

      public void setBumpStaggered(boolean val)
    • getBumpType

      public String getBumpType()
      Specified by:
      getBumpType in interface ILuaGameCharacterDamage
    • setBumpType

      public void setBumpType(String bumpType)
    • getBumpFallType

      public String getBumpFallType()
    • setBumpFallType

      public void setBumpFallType(String val)
    • getBumpedChr

      public IsoGameCharacter getBumpedChr()
    • setBumpedChr

      public void setBumpedChr(IsoGameCharacter bumpedChr)
    • getLastBump

      public long getLastBump()
    • setLastBump

      public void setLastBump(long lastBump)
    • isSitOnGround

      public boolean isSitOnGround()
    • setSitOnGround

      public void setSitOnGround(boolean sitOnGround)
    • isSittingOnFurniture

      public boolean isSittingOnFurniture()
    • setSittingOnFurniture

      public void setSittingOnFurniture(boolean isSittingOnFurniture)
    • getSitOnFurnitureObject

      public IsoObject getSitOnFurnitureObject()
    • setSitOnFurnitureObject

      public void setSitOnFurnitureObject(IsoObject object)
    • getSitOnFurnitureDirection

      public IsoDirections getSitOnFurnitureDirection()
    • setSitOnFurnitureDirection

      public void setSitOnFurnitureDirection(IsoDirections dir)
    • isSitOnFurnitureObject

      public boolean isSitOnFurnitureObject(IsoObject object)
    • shouldIgnoreCollisionWithSquare

      public boolean shouldIgnoreCollisionWithSquare(IsoGridSquare square)
      Overrides:
      shouldIgnoreCollisionWithSquare in class IsoMovingObject
    • canStandAt

      public boolean canStandAt(float x, float y, float z)
    • getUID

      public String getUID()
      Specified by:
      getUID in interface IAnimatable
    • tryGetAIState

      public State tryGetAIState(String in_stateName)
    • isRunning

      public boolean isRunning()
    • setRunning

      public void setRunning(boolean bRunning)
    • isSprinting

      public boolean isSprinting()
    • setSprinting

      public void setSprinting(boolean bSprinting)
    • canSprint

      public boolean canSprint()
    • postUpdateModelTextures

      public void postUpdateModelTextures()
    • getTextureCreator

      public ModelInstanceTextureCreator getTextureCreator()
    • setTextureCreator

      public void setTextureCreator(ModelInstanceTextureCreator textureCreator)
    • postUpdateEquippedTextures

      public void postUpdateEquippedTextures()
    • getReadyModelData

      public ArrayList<ModelInstance> getReadyModelData()
    • getIgnoreMovement

      public boolean getIgnoreMovement()
    • setIgnoreMovement

      public void setIgnoreMovement(boolean ignoreMovement)
    • isAutoWalk

      public boolean isAutoWalk()
    • setAutoWalk

      public void setAutoWalk(boolean b)
    • setAutoWalkDirection

      public void setAutoWalkDirection(Vector2 v)
    • getAutoWalkDirection

      public Vector2 getAutoWalkDirection()
    • isSneaking

      public boolean isSneaking()
    • setSneaking

      public void setSneaking(boolean bSneaking)
    • getSneakLimpSpeedScale

      public float getSneakLimpSpeedScale()
    • setSneakLimpSpeedScale

      public void setSneakLimpSpeedScale(float sneakLimpSpeedScale)
    • getGameCharacterAIBrain

      public GameCharacterAIBrain getGameCharacterAIBrain()
    • getMoveDelta

      public float getMoveDelta()
    • setMoveDelta

      public void setMoveDelta(float moveDelta)
    • getTurnDelta

      public float getTurnDelta()
    • setTurnDelta

      public void setTurnDelta(float m_turnDelta)
    • getChopTreeSpeed

      public float getChopTreeSpeed()
    • testDefense

      public boolean testDefense(IsoZombie zomb)
      Test if we're able to defend a zombie bite Can only happen if zombie is attacking from front Calcul include current weapon skills, fitness invalid input: '&' strength
    • getSurroundingAttackingZombies

      public int getSurroundingAttackingZombies()
    • getSurroundingAttackingZombies

      public int getSurroundingAttackingZombies(boolean includeCrawlers)
    • checkIsNearVehicle

      public boolean checkIsNearVehicle()
    • checkIsNearWall

      public float checkIsNearWall()
    • getBeenSprintingFor

      public float getBeenSprintingFor()
    • setBeenSprintingFor

      public void setBeenSprintingFor(float beenSprintingFor)
    • isHideWeaponModel

      public boolean isHideWeaponModel()
    • setHideWeaponModel

      public void setHideWeaponModel(boolean hideWeaponModel)
    • isHideEquippedHandL

      public boolean isHideEquippedHandL()
    • setHideEquippedHandL

      public void setHideEquippedHandL(boolean hideEquippedHandL)
    • isHideEquippedHandR

      public boolean isHideEquippedHandR()
    • setHideEquippedHandR

      public void setHideEquippedHandR(boolean hideEquippedHandR)
    • setIsAiming

      public void setIsAiming(boolean in_isAiming)
    • setFireMode

      public void setFireMode(String in_fireMode)
    • getFireMode

      public String getFireMode()
    • isAiming

      public boolean isAiming()
      Specified by:
      isAiming in interface ILuaGameCharacter
    • isTwisting

      public boolean isTwisting()
      Specified by:
      isTwisting in interface ILuaGameCharacter
    • allowsTwist

      public boolean allowsTwist()
      Specified by:
      allowsTwist in interface ILuaGameCharacter
    • getShoulderTwistWeight

      public float getShoulderTwistWeight()
    • resetBeardGrowingTime

      public void resetBeardGrowingTime()
      Specified by:
      resetBeardGrowingTime in interface ILuaGameCharacter
    • resetHairGrowingTime

      public void resetHairGrowingTime()
      Specified by:
      resetHairGrowingTime in interface ILuaGameCharacter
    • fallenOnKnees

      public void fallenOnKnees()
    • fallenOnKnees

      public void fallenOnKnees(boolean hardFall)
    • addVisualDamage

      public void addVisualDamage(String itemType)
    • addBodyVisualFromItemType

      public ItemVisual addBodyVisualFromItemType(String itemType)
    • isCriticalHit

      public boolean isCriticalHit()
    • setCriticalHit

      public void setCriticalHit(boolean isCrit)
    • getRunSpeedModifier

      public float getRunSpeedModifier()
    • isNPC

      public boolean isNPC()
    • setNPC

      public void setNPC(boolean newvalue)
    • NPCSetRunning

      public void NPCSetRunning(boolean newvalue)
    • NPCGetRunning

      public boolean NPCGetRunning()
    • NPCSetJustMoved

      public void NPCSetJustMoved(boolean newvalue)
    • NPCSetAiming

      public void NPCSetAiming(boolean isAiming)
    • NPCGetAiming

      public boolean NPCGetAiming()
    • NPCSetAttack

      public void NPCSetAttack(boolean newvalue)
    • NPCSetMelee

      public void NPCSetMelee(boolean newvalue)
    • setMetabolicTarget

      public void setMetabolicTarget(Metabolics m)
    • setMetabolicTarget

      public void setMetabolicTarget(float target)
    • getThirstMultiplier

      public double getThirstMultiplier()
    • getHungerMultiplier

      public double getHungerMultiplier()
    • getFatiqueMultiplier

      public double getFatiqueMultiplier()
    • getTimedActionTimeModifier

      public float getTimedActionTimeModifier()
    • addHoleFromZombieAttacks

      public boolean addHoleFromZombieAttacks(BloodBodyPartType part, boolean scratch)
    • getTotalBlood

      public float getTotalBlood()
    • attackFromWindowsLunge

      public void attackFromWindowsLunge(IsoZombie zombie)
    • DoSwingCollisionBoneCheck

      public boolean DoSwingCollisionBoneCheck(IsoGameCharacter zombie, int bone, float tempoLengthTest)
    • isInvincible

      public boolean isInvincible()
    • setInvincible

      public void setInvincible(boolean invincible)
    • getNearVehicle

      public BaseVehicle getNearVehicle()
    • isNearSirenVehicle

      public boolean isNearSirenVehicle()
    • dropHeavyItems

      public void dropHeavyItems()
    • isHeavyItem

      public boolean isHeavyItem(InventoryItem item)
    • isCanShout

      public boolean isCanShout()
    • setCanShout

      public void setCanShout(boolean canShout)
    • isKnowAllRecipes

      public boolean isKnowAllRecipes()
    • setKnowAllRecipes

      public void setKnowAllRecipes(boolean knowAllRecipes)
    • isUnlimitedAmmo

      public boolean isUnlimitedAmmo()
    • setUnlimitedAmmo

      public void setUnlimitedAmmo(boolean unlimitedAmmo)
    • isUnlimitedEndurance

      public boolean isUnlimitedEndurance()
    • setUnlimitedEndurance

      public void setUnlimitedEndurance(boolean unlimitedEndurance)
    • getActiveLightItems

      public ArrayList<InventoryItem> getActiveLightItems(ArrayList<InventoryItem> items)
    • getOrCreateSleepingEventData

      public SleepingEventData getOrCreateSleepingEventData()
    • playEmote

      public void playEmote(String emote)
    • getAnimationStateName

      public String getAnimationStateName()
    • getActionStateName

      public String getActionStateName()
    • shouldWaitToStartTimedAction

      public boolean shouldWaitToStartTimedAction()
    • setPersistentOutfitID

      public void setPersistentOutfitID(int outfitID)
    • setPersistentOutfitID

      public void setPersistentOutfitID(int outfitID, boolean init)
    • getPersistentOutfitID

      public int getPersistentOutfitID()
    • isPersistentOutfitInit

      public boolean isPersistentOutfitInit()
    • isDoingActionThatCanBeCancelled

      public boolean isDoingActionThatCanBeCancelled()
    • isDoDeathSound

      public boolean isDoDeathSound()
    • setDoDeathSound

      public void setDoDeathSound(boolean doDeathSound)
    • isKilledByFall

      public boolean isKilledByFall()
      Specified by:
      isKilledByFall in interface IGrappleable
    • setKilledByFall

      public void setKilledByFall(boolean bKilledByFall)
      Specified by:
      setKilledByFall in interface IGrappleable
    • updateEquippedRadioFreq

      public void updateEquippedRadioFreq()
    • updateEquippedItemSounds

      public void updateEquippedItemSounds()
    • getFMODParameters

      public FMODParameterList getFMODParameters()
      Specified by:
      getFMODParameters in interface fmod.fmod.IFMODParameterUpdater
    • startEvent

      public void startEvent(long eventInstance, GameSoundClip clip, BitSet parameterSet)
      Specified by:
      startEvent in interface fmod.fmod.IFMODParameterUpdater
    • updateEvent

      public void updateEvent(long eventInstance, GameSoundClip clip)
      Specified by:
      updateEvent in interface fmod.fmod.IFMODParameterUpdater
    • stopEvent

      public void stopEvent(long eventInstance, GameSoundClip clip, BitSet parameterSet)
      Specified by:
      stopEvent in interface fmod.fmod.IFMODParameterUpdater
    • playBloodSplatterSound

      public void playBloodSplatterSound()
    • setIgnoreAimingInput

      public void setIgnoreAimingInput(boolean b)
    • isIgnoringAimingInput

      public boolean isIgnoringAimingInput()
    • setHeadLookAround

      public void setHeadLookAround(boolean b)
    • isHeadLookAround

      public boolean isHeadLookAround()
    • setHeadLookAroundDirection

      public void setHeadLookAroundDirection(float lookHorizontal, float lookVertical)
    • getHeadLookHorizontal

      public float getHeadLookHorizontal()
    • getHeadLookVertical

      public float getHeadLookVertical()
    • getHeadLookAngleMax

      public float getHeadLookAngleMax()
    • addBlood

      public void addBlood(float speed)
    • isKnockedDown

      public boolean isKnockedDown()
    • setKnockedDown

      public void setKnockedDown(boolean in_knockedDown)
    • readInventory

      public void readInventory(ByteBuffer b)
    • Kill

      public void Kill(HandWeapon handWeapon, IsoGameCharacter killer)
    • Kill

      public void Kill(IsoGameCharacter killer)
    • die

      public void die()
    • becomeCorpse

      public IsoDeadBody becomeCorpse()
    • becomeCorpseItem

      public InventoryItem becomeCorpseItem(ItemContainer in_placeInContainer)
    • getWeightAsCorpse

      public static int getWeightAsCorpse()
    • getHitReactionNetworkAI

      public HitReactionNetworkAI getHitReactionNetworkAI()
    • getNetworkCharacterAI

      public NetworkCharacterAI getNetworkCharacterAI()
    • wasLocal

      public boolean wasLocal()
    • isLocal

      public boolean isLocal()
    • isVehicleCollisionActive

      public boolean isVehicleCollisionActive(BaseVehicle testVehicle)
    • doHitByVehicle

      public void doHitByVehicle(BaseVehicle baseVehicle, BaseVehicle.HitVars hitVars)
    • isSkipResolveCollision

      public boolean isSkipResolveCollision()
    • isPerformingAttackAnimation

      public boolean isPerformingAttackAnimation()
    • setPerformingAttackAnimation

      public void setPerformingAttackAnimation(boolean attackAnim)
    • isPerformingShoveAnimation

      public boolean isPerformingShoveAnimation()
    • setPerformingShoveAnimation

      public void setPerformingShoveAnimation(boolean shoveAnim)
    • isPerformingStompAnimation

      public boolean isPerformingStompAnimation()
    • setPerformingStompAnimation

      public void setPerformingStompAnimation(boolean stompAnim)
    • isPerformingHostileAnimation

      public boolean isPerformingHostileAnimation()
    • getNextAnimationTranslationLength

      public Float getNextAnimationTranslationLength()
    • calcHitDir

      public Float calcHitDir(IsoGameCharacter wielder, HandWeapon weapon, Vector2 out)
    • calcHitDir

      public void calcHitDir(Vector2 out)
    • getSafety

      public Safety getSafety()
      Specified by:
      getSafety in interface ILuaGameCharacter
    • setSafety

      public void setSafety(Safety safety)
      Specified by:
      setSafety in interface ILuaGameCharacter
    • burnCorpse

      public void burnCorpse(IsoDeadBody corpse)
    • setIsAnimal

      public void setIsAnimal(boolean v)
    • isAnimal

      public boolean isAnimal()
    • isAnimalRunningToDeathPosition

      public boolean isAnimalRunningToDeathPosition()
    • getPerkToUnit

      public float getPerkToUnit(PerkFactory.Perk perk)
      Specified by:
      getPerkToUnit in interface ILuaGameCharacter
    • getReadLiterature

      public HashMap<String,Integer> getReadLiterature()
      Specified by:
      getReadLiterature in interface ILuaGameCharacter
    • isLiteratureRead

      public boolean isLiteratureRead(String name)
      Specified by:
      isLiteratureRead in interface ILuaGameCharacter
    • addReadLiterature

      public void addReadLiterature(String name)
      Specified by:
      addReadLiterature in interface ILuaGameCharacter
    • addReadLiterature

      public void addReadLiterature(String name, int day)
      Specified by:
      addReadLiterature in interface ILuaGameCharacter
    • addReadPrintMedia

      public void addReadPrintMedia(String media_id)
      Specified by:
      addReadPrintMedia in interface ILuaGameCharacter
    • isPrintMediaRead

      public boolean isPrintMediaRead(String media_id)
      Specified by:
      isPrintMediaRead in interface ILuaGameCharacter
    • getReadPrintMedia

      public HashSet<String> getReadPrintMedia()
      Specified by:
      getReadPrintMedia in interface ILuaGameCharacter
    • hasReadMap

      public boolean hasReadMap(InventoryItem item)
      Specified by:
      hasReadMap in interface ILuaGameCharacter
    • addReadMap

      public void addReadMap(InventoryItem item)
      Specified by:
      addReadMap in interface ILuaGameCharacter
    • setMusicIntensityEventModData

      public void setMusicIntensityEventModData(String key, Object value)
    • getMusicIntensityEventModData

      public Object getMusicIntensityEventModData(String key)
    • isWearingTag

      public boolean isWearingTag(ItemTag itemTag)
    • getCorpseSicknessDefense

      public float getCorpseSicknessDefense()
    • getCorpseSicknessDefense

      public float getCorpseSicknessDefense(float rate)
    • getCorpseSicknessDefense

      public float getCorpseSicknessDefense(float rate, boolean drain)
    • isProtectedFromToxic

      public boolean isProtectedFromToxic()
    • isProtectedFromToxic

      public boolean isProtectedFromToxic(boolean drain)
    • isOverEncumbered

      public boolean isOverEncumbered()
    • updateWornItemsVisionModifier

      public void updateWornItemsVisionModifier()
    • getWornItemsVisionModifier

      public float getWornItemsVisionModifier()
    • getWornItemsVisionMultiplier

      public float getWornItemsVisionMultiplier()
    • updateWornItemsHearingModifier

      public void updateWornItemsHearingModifier()
    • getWornItemsHearingModifier

      public float getWornItemsHearingModifier()
    • getWornItemsHearingMultiplier

      public float getWornItemsHearingMultiplier()
    • getHearDistanceModifier

      public float getHearDistanceModifier()
    • getWeatherHearingMultiplier

      public float getWeatherHearingMultiplier()
    • getSeeNearbyCharacterDistance

      public float getSeeNearbyCharacterDistance()
    • setLastHitCharacter

      public void setLastHitCharacter(IsoGameCharacter character)
    • getLastHitCharacter

      public IsoGameCharacter getLastHitCharacter()
    • triggerCough

      public void triggerCough()
    • hasDirtyClothing

      public boolean hasDirtyClothing(Integer part)
    • hasBloodyClothing

      public boolean hasBloodyClothing(Integer part)
    • getAnimatable

      public IAnimatable getAnimatable()
      Specified by:
      getAnimatable in interface IGrappleable
    • getGrappleable

      public IGrappleable getGrappleable()
      Specified by:
      getGrappleable in interface IAnimatable
    • getWrappedGrappleable

      public BaseGrappleable getWrappedGrappleable()
      Specified by:
      getWrappedGrappleable in interface IGrappleableWrapper
    • canBeGrappled

      public boolean canBeGrappled()
      Specified by:
      canBeGrappled in interface IGrappleable
      Specified by:
      canBeGrappled in interface IGrappleableWrapper
    • isPerformingGrappleAnimation

      public boolean isPerformingGrappleAnimation()
      Specified by:
      isPerformingGrappleAnimation in interface IGrappleable
    • getShoutType

      public String getShoutType()
    • getShoutItemModel

      public String getShoutItemModel()
    • isWearingGlasses

      public boolean isWearingGlasses()
    • isWearingVisualAid

      public boolean isWearingVisualAid()
    • getClothingDiscomfortModifier

      public float getClothingDiscomfortModifier()
    • updateVisionEffectTargets

      public void updateVisionEffectTargets()
    • updateVisionEffects

      public void updateVisionEffects()
    • getBlurFactor

      public float getBlurFactor()
    • isDisguised

      public boolean isDisguised()
    • updateDisguisedState

      public void updateDisguisedState()
    • OnClothingUpdated

      public void OnClothingUpdated()
    • OnEquipmentUpdated

      public void OnEquipmentUpdated()
    • getCorpseSicknessRate

      public float getCorpseSicknessRate()
    • setCorpseSicknessRate

      public void setCorpseSicknessRate(float rate)
    • spikePartIndex

      public void spikePartIndex(int bodyPartIndex)
    • spikePart

      public void spikePart(BodyPartType partType)
    • getReanimatedCorpse

      public IsoGameCharacter getReanimatedCorpse()
    • applyDamage

      public void applyDamage(float damageAmount)
    • canRagdoll

      public boolean canRagdoll()
    • getRagdollController

      public RagdollController getRagdollController()
    • releaseRagdollController

      public void releaseRagdollController()
    • getBallisticsController

      public BallisticsController getBallisticsController()
    • updateBallistics

      public void updateBallistics()
    • releaseBallisticsController

      public void releaseBallisticsController()
    • getBallisticsTarget

      public BallisticsTarget getBallisticsTarget()
    • ensureExistsBallisticsTarget

      public BallisticsTarget ensureExistsBallisticsTarget(IsoGameCharacter isoGameCharacter)
    • releaseBallisticsTarget

      public void releaseBallisticsTarget()
    • canReachTo

      public boolean canReachTo(IsoGridSquare square)
    • canUseAsGenericCraftingSurface

      public boolean canUseAsGenericCraftingSurface(IsoObject object)
    • getHitInfoList

      public PZArrayList<HitInfo> getHitInfoList()
    • getAttackVars

      public AttackVars getAttackVars()
    • addCombatMuscleStrain

      public void addCombatMuscleStrain(InventoryItem weapon)
    • addCombatMuscleStrain

      public void addCombatMuscleStrain(InventoryItem weapon, int hitCount)
    • addCombatMuscleStrain

      public void addCombatMuscleStrain(InventoryItem item, int hitCount, float multiplier)
    • addRightLegMuscleStrain

      public void addRightLegMuscleStrain(float painfactor)
    • addBackMuscleStrain

      public void addBackMuscleStrain(float painfactor)
    • addNeckMuscleStrain

      public void addNeckMuscleStrain(float painfactor)
    • addArmMuscleStrain

      public void addArmMuscleStrain(float painfactor)
    • addLeftArmMuscleStrain

      public void addLeftArmMuscleStrain(float painfactor)
    • addBothArmMuscleStrain

      public void addBothArmMuscleStrain(float painfactor)
    • addStiffness

      public void addStiffness(BodyPartType partType, float stiffness)
    • getClimbingFailChanceInt

      public int getClimbingFailChanceInt()
    • getClimbingFailChanceFloat

      public float getClimbingFailChanceFloat()
    • nearbyZombieClimbPenalty

      public float nearbyZombieClimbPenalty()
    • isClimbingRope

      public boolean isClimbingRope()
    • fallFromRope

      public void fallFromRope()
    • isWearingGloves

      public boolean isWearingGloves()
    • isWearingAwkwardGloves

      public boolean isWearingAwkwardGloves()
    • getClimbRopeSpeed

      public float getClimbRopeSpeed(boolean down)
    • setClimbRopeTime

      public void setClimbRopeTime(float time)
    • getClimbRopeTime

      public float getClimbRopeTime()
    • hasAwkwardHands

      public boolean hasAwkwardHands()
    • triggerContextualAction

      public void triggerContextualAction(String action)
      Specified by:
      triggerContextualAction in interface ILuaGameCharacter
    • triggerContextualAction

      public void triggerContextualAction(String action, Object param1)
      Specified by:
      triggerContextualAction in interface ILuaGameCharacter
    • triggerContextualAction

      public void triggerContextualAction(String action, Object param1, Object param2)
      Specified by:
      triggerContextualAction in interface ILuaGameCharacter
    • triggerContextualAction

      public void triggerContextualAction(String action, Object param1, Object param2, Object param3)
      Specified by:
      triggerContextualAction in interface ILuaGameCharacter
    • triggerContextualAction

      public void triggerContextualAction(String action, Object param1, Object param2, Object param3, Object param4)
      Specified by:
      triggerContextualAction in interface ILuaGameCharacter
    • isActuallyAttackingWithMeleeWeapon

      public boolean isActuallyAttackingWithMeleeWeapon()
    • isDoStomp

      public boolean isDoStomp()
    • isShoving

      public boolean isShoving()
    • teleportTo

      public void teleportTo(int newX, int newY)
    • teleportTo

      public void teleportTo(float newX, float newY)
    • teleportTo

      public void teleportTo(float newX, float newY, int newZ)
    • teleportTo

      public void teleportTo(int newX, int newY, int newZ)
    • ensureNotInVehicle

      public void ensureNotInVehicle()
    • forgetRecipes

      public void forgetRecipes()
    • isWeaponReady

      public boolean isWeaponReady()
    • climbThroughWindow

      public void climbThroughWindow(IsoObject isoObject)
    • getClimbData

      public ClimbSheetRopeState.ClimbData getClimbData()
    • setClimbData

      public void setClimbData(ClimbSheetRopeState.ClimbData climbData)
    • getIdleSquareTime

      public float getIdleSquareTime()
    • isCurrentlyIdle

      public boolean isCurrentlyIdle()
    • isCurrentlyBusy

      public boolean isCurrentlyBusy()
    • flagForHotSave

      public void flagForHotSave()
      Overrides:
      flagForHotSave in class IsoObject
    • getContainers

      public ArrayList<ItemContainer> getContainers()
    • hasRecipeAtHand

      public boolean hasRecipeAtHand(CraftRecipe recipe)
    • getCheats

      public PlayerCheats getCheats()
    • calculateVisibilityData

      public VisibilityData calculateVisibilityData()