Class NetworkCharacterAI

java.lang.Object
zombie.characters.NetworkCharacterAI
Direct Known Subclasses:
NetworkPlayerAI, NetworkZombieAI

public abstract class NetworkCharacterAI extends Object
  • Field Details

    • speedChecker

      public final NetworkCharacterAI.SpeedChecker speedChecker
    • predictionType

      public byte predictionType
    • usePathFind

      public boolean usePathFind
    • forcePathFinder

      public boolean forcePathFinder
    • direction

      public Vector2 direction
    • distance

      public Vector2 distance
    • targetX

      public float targetX
    • targetY

      public float targetY
    • targetZ

      public int targetZ
    • moved

      public boolean moved
    • switchTime

      public int switchTime
    • attackRateChecker

      public final AttackRateChecker attackRateChecker
    • tempTarget

      public final Vector3 tempTarget
    • state

      public final NetworkState state
  • Constructor Details

  • Method Details

    • getState

      public NetworkState getState()
    • resetState

      public void resetState()
    • postUpdate

      public void postUpdate()
    • reset

      public void reset()
    • setLocal

      public void setLocal(boolean wasLocal)
    • wasLocal

      public boolean wasLocal()
    • setPerformingAction

      public void setPerformingAction(String animation)
    • getPerformingAction

      public String getPerformingAction()
    • setAction

      public void setAction(BaseAction action)
    • getAction

      public BaseAction getAction()
    • startAction

      public void startAction()
    • stopAction

      public void stopAction()
    • setOverride

      public void setOverride(boolean override, String primaryHandModel, String secondaryHandModel)
    • setVehicleHit

      public void setVehicleHit(INetworkPacket packet)
    • isHitByVehicle

      public boolean isHitByVehicle()
    • isVehicleHitTimeout

      public boolean isVehicleHitTimeout()
    • hitByVehicle

      public void hitByVehicle()
    • setCorpse

      public void setCorpse(INetworkPacket packet)
    • isDeadBodyTimeout

      public boolean isDeadBodyTimeout()
    • becomeCorpse

      public void becomeCorpse()
    • isCollisionEnabled

      public boolean isCollisionEnabled()
    • isNoCollisionTimeout

      public boolean isNoCollisionTimeout()
    • setNoCollision

      public void setNoCollision(long interval)
    • resetSpeedLimiter

      public void resetSpeedLimiter()
    • getOnlineID

      public short getOnlineID()
    • getRelatedPlayer

      public abstract IsoPlayer getRelatedPlayer()
    • getBooleanDebugOptions

      public abstract Multiplayer.DebugFlagsOG.IsoGameCharacterOG getBooleanDebugOptions()
    • getHutch

      public IsoHutch getHutch()
    • getVehile

      public BaseVehicle getVehile()
    • isDead

      public boolean isDead()
    • getCharacter

      public IsoGameCharacter getCharacter()
    • syncDamage

      public void syncDamage()
    • syncStats

      public void syncStats()
    • syncXp

      public void syncXp()
    • syncHealth

      public void syncHealth()
    • getAnimalPacket

      public AnimalPacket getAnimalPacket()
    • setAnimalPacket

      public void setAnimalPacket(UdpConnection receiver)
    • getPlayerPacket

      public PlayerPacket getPlayerPacket()