Class NetworkCharacterAI
java.lang.Object
zombie.characters.NetworkCharacterAI
- Direct Known Subclasses:
NetworkPlayerAI
,NetworkZombieAI
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal AttackRateChecker
boolean
boolean
final NetworkState
int
float
float
int
boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
getHutch()
short
abstract IsoPlayer
getState()
float
getX()
float
getY()
float
getZ()
void
boolean
boolean
isDead()
boolean
boolean
boolean
boolean
boolean
isRemote()
boolean
isValid
(UdpConnection udpConnection) boolean
void
void
reset()
void
void
void
setAction
(BaseAction _action) void
setCorpse
(INetworkPacket iNetworkPacket) void
setLocal
(boolean _wasLocal) void
setNoCollision
(long interval) void
setOverride
(boolean override, String primaryHandModel, String secondaryHandModel) void
setOwnership
(UdpConnection udpConnection) void
setPerformingAction
(String animation) void
setVehicleHit
(INetworkPacket iNetworkPacket) void
setX
(float float0) void
setY
(float float0) void
setZ
(float float0) void
void
abstract void
boolean
wasLocal()
-
Field Details
-
speedChecker
-
predictionType
-
usePathFind
public boolean usePathFind -
forcePathFinder
public boolean forcePathFinder -
direction
-
distance
-
targetX
public float targetX -
targetY
public float targetY -
targetZ
public int targetZ -
moved
public boolean moved -
switchTime
public int switchTime -
attackRateChecker
-
state
-
-
Constructor Details
-
NetworkCharacterAI
-
-
Method Details
-
getState
-
resetState
public void resetState() -
postUpdate
public void postUpdate() -
reset
public void reset() -
setLocal
public void setLocal(boolean _wasLocal) -
wasLocal
public boolean wasLocal() -
setPerformingAction
-
getPerformingAction
-
setAction
-
getAction
-
startAction
public void startAction() -
stopAction
public void stopAction() -
setOverride
-
setVehicleHit
-
isHitByVehicle
public boolean isHitByVehicle() -
isVehicleHitTimeout
public boolean isVehicleHitTimeout() -
hitByVehicle
public void hitByVehicle() -
setCorpse
-
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() -
getX
public float getX() -
getY
public float getY() -
getZ
public float getZ() -
setX
public void setX(float float0) -
setY
public void setY(float float0) -
setZ
public void setZ(float float0) -
setOwnership
-
getOwnership
-
getAnimalPacket
-
isValid
-
getRelatedPlayer
-
isRemote
public boolean isRemote() -
getBooleanDebugOptions
-
getHutch
-
getVehile
-
isOwnershipOnServer
public boolean isOwnershipOnServer() -
isDead
public boolean isDead() -
getCharacter
-
syncDamage
public abstract void syncDamage()
-