Class IsoZombie

All Implemented Interfaces:
java.io.Serializable, Mover, Talker, ChatElementOwner

public class IsoZombie
extends IsoGameCharacter
See Also:
Serialized Form
  • Field Details

    • NetRemoteState_Idle

      public static final byte NetRemoteState_Idle
      See Also:
      Constant Field Values
    • NetRemoteState_Walk

      public static final byte NetRemoteState_Walk
      See Also:
      Constant Field Values
    • NetRemoteState_Stagger

      public static final byte NetRemoteState_Stagger
      See Also:
      Constant Field Values
    • NetRemoteState_Lunge

      public static final byte NetRemoteState_Lunge
      See Also:
      Constant Field Values
    • NetRemoteState_Bite

      public static final byte NetRemoteState_Bite
      See Also:
      Constant Field Values
    • NetRemoteState_WalkToward

      public static final byte NetRemoteState_WalkToward
      See Also:
      Constant Field Values
    • NetRemoteState_StaggerBack

      public static final byte NetRemoteState_StaggerBack
      See Also:
      Constant Field Values
    • NetRemoteState_StaggerBackDie

      public static final byte NetRemoteState_StaggerBackDie
      See Also:
      Constant Field Values
    • zombieSoundInstance

      public long zombieSoundInstance
    • baseSpeed

      public static float baseSpeed
    • ZombieDeaths

      public static int ZombieDeaths
    • HurtPlayerTimer

      public int HurtPlayerTimer
    • LastTargetSeenX

      public int LastTargetSeenX
    • LastTargetSeenY

      public int LastTargetSeenY
    • LastTargetSeenZ

      public int LastTargetSeenZ
    • Ghost

      public boolean Ghost
    • LungeTimer

      public float LungeTimer
    • LungeSoundTime

      public long LungeSoundTime
    • target

      public IsoMovingObject target
    • iIgnoreDirectionChange

      public int iIgnoreDirectionChange
    • TimeSinceSeenFlesh

      public float TimeSinceSeenFlesh
    • FollowCount

      public int FollowCount
    • GhostLife

      public float GhostLife
    • wanderSpeed

      public float wanderSpeed
    • predXVel

      public float predXVel
    • predYVel

      public float predYVel
    • ZombieID

      public int ZombieID
    • bRightie

      public boolean bRightie
    • bDead

      public boolean bDead
    • bIndoorZombie

      public boolean bIndoorZombie
    • thumpFrame

      public int thumpFrame
    • thumpFlag

      public int thumpFlag
    • thumpSent

      public boolean thumpSent
    • mpIdleSound

      public boolean mpIdleSound
    • EAT_BODY_TIME

      public static final float EAT_BODY_TIME
      See Also:
      Constant Field Values
    • LUNGE_TIME

      public static final float LUNGE_TIME
      See Also:
      Constant Field Values
    • CRAWLER_DAMAGE_DOT

      public static final float CRAWLER_DAMAGE_DOT
      See Also:
      Constant Field Values
    • CRAWLER_DAMAGE_RANGE

      public static final float CRAWLER_DAMAGE_RANGE
      See Also:
      Constant Field Values
    • speedType

      public int speedType
    • group

      public ZombieGroup group
    • inactive

      public boolean inactive
    • strength

      public int strength
    • cognition

      public int cognition
    • serverState

      public java.lang.String serverState
    • soundSourceTarget

      public IsoObject soundSourceTarget
    • soundAttract

      public float soundAttract
    • soundAttractTimeout

      public float soundAttractTimeout
    • SpriteName

      public java.lang.String SpriteName
    • PALETTE_COUNT

      public static final int PALETTE_COUNT
      See Also:
      Constant Field Values
    • vectorToTarget

      public Vector2 vectorToTarget
    • AllowRepathDelay

      public float AllowRepathDelay
    • KeepItReal

      public boolean KeepItReal
    • Deaf

      public boolean Deaf
    • Fast

      public static boolean Fast
    • palette

      public int palette
    • AttackAnimTime

      public int AttackAnimTime
    • AttackAnimTimeMax

      public static int AttackAnimTimeMax
    • HighQualityZombiesDrawnThisFrame

      public static int HighQualityZombiesDrawnThisFrame
    • nextRallyTime

      public float nextRallyTime
    • chasingSound

      public boolean chasingSound
    • spottedLast

      public IsoMovingObject spottedLast
    • spotSoundDelay

      public int spotSoundDelay
    • movex

      public float movex
    • movey

      public float movey
    • lastRemoteUpdate

      public short lastRemoteUpdate
    • OnlineID

      public short OnlineID
    • usingSoundInstance

      public boolean usingSoundInstance
    • walkVariantUse

      public java.lang.String walkVariantUse
    • walkVariant

      public java.lang.String walkVariant
    • bLunger

      public boolean bLunger
    • bRunning

      public boolean bRunning
    • bCrawling

      public boolean bCrawling
    • MoveDelay

      public int MoveDelay
    • bRemote

      public boolean bRemote
  • Constructor Details

    • IsoZombie

      public IsoZombie​(IsoCell cell)
    • IsoZombie

      public IsoZombie​(IsoCell cell, SurvivorDesc survivorDesc, int int1)
    • IsoZombie

      @Deprecated public IsoZombie​(IsoCell cell, SurvivorDesc survivorDesc)
      Deprecated.
    • IsoZombie

      @Deprecated public IsoZombie​(IsoCell cell, int int1)
      Deprecated.
  • Method Details

    • getObjectName

      public java.lang.String getObjectName()
      Overrides:
      getObjectName in class IsoMovingObject
    • createChecksum

      public static byte[] createChecksum​(java.lang.String string) throws java.lang.Exception
      Throws:
      java.lang.Exception
    • setVehicle4TestCollision

      public void setVehicle4TestCollision​(BaseVehicle baseVehicle)
    • getMD5Checksum

      public static java.lang.String getMD5Checksum​(java.lang.String string) throws java.lang.Exception
      Throws:
      java.lang.Exception
    • DoChecksumCheck

      public static boolean DoChecksumCheck​(java.lang.String string, java.lang.String string2)
    • DoChecksumCheck

      public static boolean DoChecksumCheck()
    • pathToCharacter

      public void pathToCharacter​(IsoGameCharacter gameCharacter)
      Overrides:
      pathToCharacter in class IsoGameCharacter
    • pathToLocation

      public void pathToLocation​(int int1, int int2, int int3)
      Overrides:
      pathToLocation in class IsoGameCharacter
    • pathToLocationF

      public void pathToLocationF​(float float1, float float2, float float3)
      Overrides:
      pathToLocationF in class IsoGameCharacter
    • load

      public void load​(java.nio.ByteBuffer byteBuffer, int int1) throws java.io.IOException
      Overrides:
      load in class IsoGameCharacter
      Throws:
      java.io.IOException
    • save

      public void save​(java.nio.ByteBuffer byteBuffer) throws java.io.IOException
      Overrides:
      save in class IsoGameCharacter
      Throws:
      java.io.IOException
    • AttemptAttack

      public boolean AttemptAttack()
    • collideWith

      public void collideWith​(IsoObject object)
      Overrides:
      collideWith in class IsoMovingObject
    • Hit

      public void Hit​(HandWeapon handWeapon, IsoGameCharacter gameCharacter, float float1, boolean boolean1, float float2)
      Overrides:
      Hit in class IsoGameCharacter
    • Lunge

      public void Lunge()
    • onMouseLeftClick

      public void onMouseLeftClick()
    • pathFinished

      public void pathFinished()
      Overrides:
      pathFinished in class IsoGameCharacter
    • render

      public void render​(float float1, float float2, float float3, ColorInfo colorInfo, boolean boolean1)
      Overrides:
      render in class IsoGameCharacter
    • RespondToSound

      public void RespondToSound()
    • spotted

      public void spotted​(IsoMovingObject movingObject, boolean boolean1)
      Overrides:
      spotted in class IsoMovingObject
    • Move

      public void Move​(Vector2 vector2)
      Overrides:
      Move in class IsoMovingObject
    • DoFootstepSound

      public void DoFootstepSound​(float float1)
      Overrides:
      DoFootstepSound in class IsoGameCharacter
    • preupdate

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

      public void postupdate()
      Overrides:
      postupdate in class IsoGameCharacter
    • update

      public void update()
      Overrides:
      update in class IsoGameCharacter
    • getZombieWalkTowardSpeed

      public void getZombieWalkTowardSpeed​(float float1, float float2, Vector2 vector2)
    • getZombieLungeSpeed

      public void getZombieLungeSpeed​(Vector2 vector2)
    • getZombieLungeSpeed

      public void getZombieLungeSpeed​(float float1, float float2, Vector2 vector2)
    • tryThump

      public boolean tryThump​(IsoGridSquare square)
    • Wander

      public void Wander()
    • FindPath

      public Path FindPath​(int int1, int int2, int int3, int int4, int int5, int int6)
    • updateFrameSpeed

      public void updateFrameSpeed()
    • DoZombieInventory

      public void DoZombieInventory()
    • changeSpeed

      public void changeSpeed​(int int1)
    • DoZombieStats

      public void DoZombieStats()
    • DoZombieSpeeds

      public void DoZombieSpeeds​(float float1)
    • isFakeDead

      public boolean isFakeDead()
    • setFakeDead

      public void setFakeDead​(boolean boolean1)
    • isForceFakeDead

      public boolean isForceFakeDead()
    • setForceFakeDead

      public void setForceFakeDead​(boolean boolean1)
    • HitSilence

      public void HitSilence​(HandWeapon handWeapon, IsoZombie zombie, float float1, boolean boolean1, float float2)
    • DoDeathSilence

      protected void DoDeathSilence​(HandWeapon handWeapon, IsoGameCharacter gameCharacter)
      Overrides:
      DoDeathSilence in class IsoGameCharacter
    • Hit

      public void Hit​(BaseVehicle baseVehicle, float float1, float float2, Vector2 vector2)
      Overrides:
      Hit in class IsoGameCharacter
    • DoNetworkDirty

      public void DoNetworkDirty()
    • removeFromWorld

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

      public boolean isReanimatedPlayer()
    • setReanimatedPlayer

      public void setReanimatedPlayer​(boolean boolean1)
    • useDescriptor

      public void useDescriptor​(SurvivorDesc survivorDesc, int int1)
    • WanderFromWindow

      public boolean WanderFromWindow()
    • isUseless

      public boolean isUseless()
    • setUseless

      public void setUseless​(boolean boolean1)
    • setImmortalTutorialZombie

      public void setImmortalTutorialZombie​(boolean boolean1)
    • isTargetInCone

      public boolean isTargetInCone​(float float1, float float2)
    • testCollideWithVehicles

      public boolean testCollideWithVehicles​(BaseVehicle baseVehicle)
    • toggleCrawling

      public void toggleCrawling()
    • addItemToSpawnAtDeath

      public void addItemToSpawnAtDeath​(InventoryItem inventoryItem)
    • clearItemsToSpawnAtDeath

      public void clearItemsToSpawnAtDeath()