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
    • 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
    • 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
    • OnlineIDMax

      public static short OnlineIDMax
    • 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 desc, int _palette)
    • IsoZombie

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

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

    • getObjectName

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

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

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

      public static boolean DoChecksumCheck​(java.lang.String str, java.lang.String expected)
    • DoChecksumCheck

      public static boolean DoChecksumCheck()
    • PathTo

      public void PathTo​(int x, int y, int z, boolean critical)
      Overrides:
      PathTo in class IsoGameCharacter
    • PathTo

      public void PathTo​(int x, int y, int z, boolean critical, int delay)
      Overrides:
      PathTo in class IsoGameCharacter
    • load

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

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

      public boolean AttemptAttack()
    • collideWith

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

      public void Hit​(HandWeapon weapon, IsoGameCharacter wielder, float damageSplit, boolean bIgnoreDamage, float modDelta)
      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 x, float y, float z, ColorInfo col, boolean bDoChild)
      Overrides:
      render in class IsoGameCharacter
    • RespondToSound

      public void RespondToSound()
    • spotted

      public void spotted​(IsoMovingObject other, boolean bForced)
      Overrides:
      spotted in class IsoMovingObject
    • Move

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

      public void DoFootstepSound​(float dist)
      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 speed, float dist, Vector2 temp)
    • getZombieLungeSpeed

      public void getZombieLungeSpeed​(Vector2 temp)
    • getZombieLungeSpeed

      public void getZombieLungeSpeed​(float speed, float dist, Vector2 temp)
    • tryThump

      public boolean tryThump​(IsoGridSquare square)
    • Wander

      public void Wander()
    • FindPath

      public Path FindPath​(int sx, int sy, int sz, int tx, int ty, int tz)
    • updateFrameSpeed

      public void updateFrameSpeed()
    • DoZombieInventory

      public void DoZombieInventory()
    • changeSpeed

      public void changeSpeed​(int newSpeed)
    • DoZombieStats

      public void DoZombieStats()
    • DoZombieSpeeds

      public void DoZombieSpeeds​(float spMod)
    • isFakeDead

      public boolean isFakeDead()
    • setFakeDead

      public void setFakeDead​(boolean bFakeDead)
    • isForceFakeDead

      public boolean isForceFakeDead()
    • setForceFakeDead

      public void setForceFakeDead​(boolean bForceFakeDead)
    • HitSilence

      public void HitSilence​(HandWeapon weapon, IsoZombie wielder, float damageSplit, boolean bIgnoreDamage, float modDelta)
    • DoDeathSilence

      protected void DoDeathSilence​(HandWeapon weapon, IsoGameCharacter wielder)
      Overrides:
      DoDeathSilence 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 reanimated)
    • useDescriptor

      public void useDescriptor​(SurvivorDesc _descriptor, int _palette)
    • WanderFromWindow

      public boolean WanderFromWindow()
    • isUseless

      public boolean isUseless()
    • setUseless

      public void setUseless​(boolean useless)
    • setImmortalTutorialZombie

      public void setImmortalTutorialZombie​(boolean immortal)
    • isTargetInCone

      public boolean isTargetInCone​(float dist, float dot)