Package zombie.characters
Class NetworkCharacterAI
java.lang.Object
zombie.characters.NetworkCharacterAI
- Direct Known Subclasses:
NetworkPlayerAI
,NetworkZombieAI
public abstract class NetworkCharacterAI
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description protected BaseAction
action
protected DeadCharacterPacket
deadBody
java.util.HashMap
debugData
protected HitReactionNetworkAI
hitReaction
protected long
noCollisionTime
NetworkVariables.PredictionTypes
predictionType
NetworkTeleport.NetworkTeleportDebug
teleportDebug
protected float
timestamp
protected VehicleHitPacket
vehicleHit
protected boolean
wasLocal
-
Constructor Summary
Constructors Constructor Description NetworkCharacterAI(IsoGameCharacter gameCharacter)
-
Method Summary
Modifier and Type Method Description void
addTeleportData(int int1, java.lang.String string)
void
clearTeleportDebug()
BaseAction
getAction()
NetworkTeleport.NetworkTeleportDebug
getTeleportDebug()
boolean
isCollisionEnabled()
boolean
isNoCollisionTimeout()
boolean
isSetDeadBody()
boolean
isSetVehicleHit()
boolean
isVehicleHitTimeout()
void
processDeadBody()
void
processVehicleHit()
void
reset()
void
resetVehicleHitTimeout()
void
setAction(BaseAction baseAction)
void
setDeadBody(DeadCharacterPacket deadCharacterPacket)
void
setLocal(boolean boolean1)
void
setNoCollision(long long1)
void
setOverride(boolean boolean1, java.lang.String string, java.lang.String string2)
void
setTeleportDebug(NetworkTeleport.NetworkTeleportDebug networkTeleportDebug)
void
setVehicleHit(VehicleHitPacket vehicleHitPacket)
void
startAction()
void
stopAction()
void
updateHitVehicle()
boolean
wasLocal()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
predictionType
-
deadBody
-
vehicleHit
-
timestamp
protected float timestamp -
action
-
noCollisionTime
protected long noCollisionTime -
wasLocal
protected boolean wasLocal -
hitReaction
-
teleportDebug
-
debugData
public final java.util.HashMap debugData
-
-
Constructor Details
-
NetworkCharacterAI
-
-
Method Details
-
reset
public void reset() -
setLocal
public void setLocal(boolean boolean1) -
wasLocal
public boolean wasLocal() -
getTeleportDebug
-
clearTeleportDebug
public void clearTeleportDebug() -
setTeleportDebug
-
addTeleportData
public void addTeleportData(int int1, java.lang.String string) -
processDeadBody
public void processDeadBody() -
setDeadBody
-
isSetDeadBody
public boolean isSetDeadBody() -
setAction
-
getAction
-
startAction
public void startAction() -
stopAction
public void stopAction() -
setOverride
public void setOverride(boolean boolean1, java.lang.String string, java.lang.String string2) -
processVehicleHit
public void processVehicleHit() -
setVehicleHit
-
isSetVehicleHit
public boolean isSetVehicleHit() -
resetVehicleHitTimeout
public void resetVehicleHitTimeout() -
isVehicleHitTimeout
public boolean isVehicleHitTimeout() -
updateHitVehicle
public void updateHitVehicle() -
isCollisionEnabled
public boolean isCollisionEnabled() -
isNoCollisionTimeout
public boolean isNoCollisionTimeout() -
setNoCollision
public void setNoCollision(long long1)
-