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 boolean
climbFenceOutcomeFall
float
collidePointX
float
collidePointY
Vector2
direction
Vector2
distance
java.util.LinkedList
events
byte
footstepSoundRadius
boolean
forcePathFinder
int
lastBooleanVariables
float
lastForwardDirection
float
lastPlayerMoveDirLen
boolean
moving
boolean
needToMovingUsingPathFinder
float
targetX
float
targetY
int
targetZ
boolean
usePathFind
Fields 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 boolean
isNeedToUpdate()
boolean
isPressedCancelAction()
boolean
isPressedMovement()
void
needToUpdate()
void
parse(PlayerPacket playerPacket)
boolean
set(PlayerPacket playerPacket)
void
setBlockUpdate(boolean boolean1)
void
setPressedCancelAction(boolean boolean1)
void
setPressedMovement(boolean boolean1)
void
setUpdateTimer(float float1)
void
update()
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, wasLocal
Methods 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()
-