Package zombie.characters
Class NetworkPlayerAI
java.lang.Object
zombie.characters.NetworkCharacterAI
zombie.characters.NetworkPlayerAI
public class NetworkPlayerAI extends NetworkCharacterAI
-
Field Summary
Fields Modifier and Type Field Description booleanclimbFenceOutcomeFallfloatcollidePointXfloatcollidePointYVector2directionVector2distancejava.util.LinkedListeventsbytefootstepSoundRadiusbooleanforcePathFinderintlastBooleanVariablesfloatlastForwardDirectionfloatlastPlayerMoveDirLenbooleanmovingbooleanneedToMovingUsingPathFinderfloattargetXfloattargetYinttargetZbooleanusePathFindFields inherited from class zombie.characters.NetworkCharacterAI
action, deadBody, debugData, hitReaction, noCollisionTime, predictionType, teleportDebug, timestamp, vehicleHit, wasLocal -
Constructor Summary
Constructors Constructor Description NetworkPlayerAI(IsoGameCharacter gameCharacter) -
Method Summary
Modifier and Type Method Description booleanisNeedToUpdate()booleanisPressedCancelAction()booleanisPressedMovement()voidneedToUpdate()voidparse(PlayerPacket playerPacket)booleanset(PlayerPacket playerPacket)voidsetBlockUpdate(boolean boolean1)voidsetPressedCancelAction(boolean boolean1)voidsetPressedMovement(boolean boolean1)voidsetUpdateTimer(float float1)voidupdate()Methods inherited from class zombie.characters.NetworkCharacterAI
addTeleportData, clearTeleportDebug, getAction, getTeleportDebug, isCollisionEnabled, isNoCollisionTimeout, isSetDeadBody, isSetVehicleHit, isVehicleHitTimeout, processDeadBody, processVehicleHit, reset, resetVehicleHitTimeout, setAction, setDeadBody, setLocal, setNoCollision, setOverride, setTeleportDebug, setVehicleHit, startAction, stopAction, updateHitVehicle, wasLocalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
events
public final java.util.LinkedList events -
usePathFind
public boolean usePathFind -
collidePointX
public float collidePointX -
collidePointY
public float collidePointY -
targetX
public float targetX -
targetY
public float targetY -
targetZ
public int targetZ -
needToMovingUsingPathFinder
public boolean needToMovingUsingPathFinder -
forcePathFinder
public boolean forcePathFinder -
direction
-
distance
-
moving
public boolean moving -
footstepSoundRadius
public byte footstepSoundRadius -
lastBooleanVariables
public int lastBooleanVariables -
lastForwardDirection
public float lastForwardDirection -
lastPlayerMoveDirLen
public float lastPlayerMoveDirLen -
climbFenceOutcomeFall
public boolean climbFenceOutcomeFall
-
-
Constructor Details
-
NetworkPlayerAI
-
-
Method Details
-
needToUpdate
public void needToUpdate() -
setBlockUpdate
public void setBlockUpdate(boolean boolean1) -
isNeedToUpdate
public boolean isNeedToUpdate() -
setUpdateTimer
public void setUpdateTimer(float float1) -
set
-
parse
-
isPressedMovement
public boolean isPressedMovement() -
setPressedMovement
public void setPressedMovement(boolean boolean1) -
isPressedCancelAction
public boolean isPressedCancelAction() -
setPressedCancelAction
public void setPressedCancelAction(boolean boolean1) -
update
public void update()
-