Package zombie.characters
Class IsoLivingCharacter
java.lang.Object
zombie.iso.IsoObject
zombie.iso.IsoMovingObject
zombie.characters.IsoGameCharacter
zombie.characters.IsoLivingCharacter
- All Implemented Interfaces:
java.io.Serializable
,Mover
,Talker
,ChatElementOwner
- Direct Known Subclasses:
IsoPlayer
,IsoSurvivor
public class IsoLivingCharacter extends IsoGameCharacter
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class zombie.characters.IsoGameCharacter
IsoGameCharacter.BodyLocation, IsoGameCharacter.LightInfo, IsoGameCharacter.Location, IsoGameCharacter.PerkInfo, IsoGameCharacter.TorchInfo, IsoGameCharacter.Wound, IsoGameCharacter.XP, IsoGameCharacter.XPMultiplier
Nested classes/interfaces inherited from class zombie.iso.IsoMovingObject
IsoMovingObject.TreeSoundManager
Nested classes/interfaces inherited from class zombie.iso.IsoObject
IsoObject.VisionResult
-
Field Summary
Fields Modifier and Type Field Description HandWeapon
bareHands
boolean
bCollidedWithPushable
boolean
bDoShove
IsoGameCharacter
targetOnGround
float
useChargeDelta
Fields inherited from class zombie.characters.IsoGameCharacter
AllowConversation, angle, Asleep, AttackDelay, AttackDelayLast, AttackDelayMax, AttackDelayUse, AttackedBy, attackTargetSquare, AttackWasSuperAttack, bClimbing, bDoDefer, BeenMovingForDecrease, BeenMovingForIncrease, BetaDelta, BetaEffect, bFalling, bFemale, BloodImpactX, BloodImpactY, BloodImpactZ, bloodSplat, BodyDamage, BodyDamageRemote, bOnBed, bottomsSprite, bUseParts, callOut, canSeeCurrent, CanUpgradePerk, CharacterActions, chatElement, ClothingItem_Back, ClothingItem_Feet, ClothingItem_Hands, ClothingItem_Head, ClothingItem_Legs, ClothingItem_Torso, craftIngredient1, craftIngredient2, craftIngredient3, craftIngredient4, dangerLevels, decisionPath, defaultState, defHurtSound, DepressDelta, DepressEffect, DepressFirstTakeTime, descriptor, DieCount, drawUserName, DropShadow, emitter, EnemyList, extraSprites, fallTime, FamiliarBuildings, finder, FireKillRate, FireSpreadProbability, FollowingTarget, footStepCounter, footStepCounterMax, ForceWakeUp, ForceWakeUpTime, godMod, hairSprite, haloDispTime, haloNote, hasChatHistory, hasInitTextObjects, headSprite, Health, hitBy, hurtSound, IgnoreMovementForDirection, IgnoreStaggerBack, inf, inventory, invisible, isoPlayer, knockbackAttackMod, lastCollidedN, lastCollidedW, lastdir, lastFallSpeed, LastHeardSound, LastKnownLocation, LastLocalEnemies, LastZombieKills, leaveBodyTimedown, leftHandItem, legsSprite, LevelUpLevels, LevelUpMultiplier, lineDisplayTime, llx, lly, llz, LocalEnemyList, LocalGroupList, LocalList, LocalNeutralList, LocalRelevantEnemyList, lrx, lry, masterBehaviorList, masterProper, maxWeight, maxWeightBase, MeetList, Moodles, moveForwardVec, namePvpSuffix, namesPrefix, NetRemoteState, NextWander, NumberOfPerksToPick, NumSurvivorsInVicinity, OnFire, Order, Orders, PainDelta, PainEffect, path, PathDelay, pathIndex, pathing, PathSpeed, PathTargetX, PathTargetY, PathTargetZ, Patience, PatienceMax, PatienceMin, PerkList, Personality, PersonalNeed, PersonalNeeds, playerIsSelf, Reanim, ReanimAnimDelay, ReanimAnimFrame, ReanimatedCorpse, ReanimatedCorpseID, ReanimateTimer, ReanimPhase, RecoilDelayDecrease, RemoteID, RENDER_OFFSET_X, RENDER_OFFSET_Y, rightHandItem, sayLine, shoeSprite, SleepingTabletDelta, SleepingTabletEffect, slowFactor, slowTimer, SpeakColour, Speaking, SpeakTime, speedMod, SpottedSinceAlphaZero, staggerTimeMod, stateMachine, StateMachineParams, stats, superAttack, SurvivorKills, SurvivorMap, TagGroup, tempo, testPlayerSpotInDarkness, TimeThumping, timeTillForgetLocation, topSprite, torsoSprite, Traits, upKillCount, UsedItemsOn, useHandWeapon, userName, VeryCloseEnemyList, VisibleToNPCs, voiceMuteSuffix, voiceSuffix, wounds, xp, ZombieKills
Fields inherited from class zombie.iso.IsoMovingObject
bx, by, Collidable, current, def, ExpectedChecksum, hitDir, ID, last, lx, ly, lz, movementLastFrame, movingSq, noDamage, nx, ny, reqMovement, ScriptModule, ScriptName, scriptnx, scriptny, shootable, solid, treeSoundMgr, weight, width, x, y, z
Fields inherited from class zombie.iso.IsoObject
alpha, alphaStep, AttachedAnimSprite, AttachedAnimSpriteActual, bmod, bNeverDoneAlpha, container, Damage, dir, externalWaterSource, gmod, highlighted, keyId, lastRendered, lastRenderedRendered, MAX_WALL_SPLATS, name, NoPicking, offsetX, offsetY, OutlineOnMouseover, overlaySprite, overlaySpriteColor, rerouteCollide, rerouteMask, rmod, sheetRope, sheetRopeHealth, sprite, spriteName, square, stCol, sx, sy, table, targetAlpha, tintb, tintg, tintr, usesExternalWaterSource, wallBloodSplats
-
Constructor Summary
Constructors Constructor Description IsoLivingCharacter(IsoCell cell, float x, float y, float z)
-
Method Summary
Modifier and Type Method Description boolean
AttemptAttack(float ChargeDelta)
boolean
DoAttack(float ChargeDelta)
boolean
isAimAtFloor()
boolean
isCollidedWithPushableThisFrame()
void
setAimAtFloor(boolean b)
Methods inherited from class zombie.characters.IsoGameCharacter
Anger, ApplyInBedOffset, applyTraits, autoDrink, BetaAntiDepress, BetaBlockers, Bitten, Callout, CanAttack, canClimbDownSheetRope, canClimbSheetRope, CanSee, changeState, climbDownSheetRope, climbSheetRope, climbThroughWindow, climbThroughWindow, climbThroughWindow, climbThroughWindow, climbThroughWindowFrame, compareMovePriority, createKeyRing, DirectionFromVector, DirectionFromVectorNoDiags, DoCharacterPart, DoDeath, DoDeath, DoDeathSilence, DoFloorSplat, DoFootstepSound, doSleepSpeech, DoSneezeText, DoZombiePart, DoZombiePart, drawAt, DrawSneezeText, Dressup, Dressup, dripBloodFloor, dropHandItems, Eat, Eat, EatRemote, exert, faceDirection, faceLocation, FaceNextPathNode, FaceNextPathNode, faceThisObject, faceThisObjectAlt, FireCheck, forceAwake, getAge, getAlreadyReadPages, getAngle, getAttackDelay, getAttackDelayMax, getAttackDelayUse, getAttackedBy, getAttackTargetSquare, getBarricadeStrengthMod, getBarricadeTimeMod, getBed, getBedType, getBeenMovingFor, getBetaDelta, getBetaEffect, getBloodImpactX, getBloodImpactY, getBloodImpactZ, getBloodSplat, getBodyDamage, getBodyDamageRemote, getBottomsSprite, getCanUpgradePerk, getChair, getCharacterActions, getClickSound, getClothingItem_Back, getClothingItem_Feet, getClothingItem_Hands, getClothingItem_Head, getClothingItem_Legs, getClothingItem_Torso, getCraftingByIndex, getCraftIngredient1, getCraftIngredient2, getCraftIngredient3, getCraftIngredient4, getCurrentBuilding, getCurrentBuildingDef, getCurrentRoomDef, getCurrentState, getDangerLevels, getDefaultState, getDepressDelta, getDepressEffect, getDescriptor, getDieCount, getEmitter, getEnemyList, getEquipedRadio, getExtraSprites, getFallTime, getFamiliarBuildings, getFatigueMod, getFinder, getFireKillRate, getFireSpreadProbability, getFollowingTarget, getFootStepCounter, getFootStepCounterMax, getForceWakeUpTime, getFullName, getHairSprite, getHammerSoundMod, getHeadSprite, getHealth, getHitBy, getHitChancesMod, getHittingMod, getHurtSound, getHyperthermiaMod, getInf, getInventory, getInventoryWeight, getKnownRecipes, getLastdir, getLastFallSpeed, getLastHeardSound, getLastHitCount, getLastHourSleeped, getLastKnownLocation, getLastKnownLocationOf, getLastLocalEnemies, getLastZombieKills, getLeaveBodyTimedown, getLegsSprite, getLevelMaxForXp, getLevelUpLevels, getLevelUpLevels, getLevelUpMultiplier, getLightfootMod, getLightInfo2, getLlx, getLly, getLlz, getLocalEnemyList, getLocalGroupList, getLocalList, getLocalNeutralList, getLocalRelevantEnemyList, getLowDangerInVicinity, getLrx, getLry, getMaintenanceMod, getMasterBehaviorList, getMasterProper, getMaxChatLines, getMaxWeight, getMaxWeightBase, getMeetList, getMeleeCombatMod, getMetalBarricadeStrengthMod, getModel, getMoodles, getMoveForwardVec, getMoveSpeed, getNextWander, getNimbleMod, getNumberOfPerksToPick, getNumSurvivorsInVicinity, getOrder, getOrders, getPacingMod, getPainDelta, getPainEffect, getPath, getPathIndex, getPathSpeed, getPathTargetX, getPathTargetY, getPathTargetZ, getPatience, getPatienceMax, getPatienceMin, getPerkInfo, getPerkLevel, getPerkList, getPersonality, getPersonalNeed, getPersonalNeeds, getPrimaryHandItem, getPrimaryHandType, getReanimAnimDelay, getReanimAnimFrame, getReanimateTimer, getReanimPhase, getRecoilDelay, getRecoveryMod, getReduceInfectionPower, getRemoteID, getSafetyCooldown, getSayLine, getSayLineOld, getSecondaryHandItem, getSecondaryHandType, getShoeSprite, getShovingMod, getSleepingTabletDelta, getSleepingTabletEffect, getSlowFactor, getSlowTimer, getSneakSpotMod, getSpeakColour, getSpeakTime, getSpeedMod, getSprintMod, getSpriteDef, getStaggerTimeMod, getStateMachine, getStats, getSurvivorKills, getSurvivorMap, getTagGroup, getTalkerType, getTemperature, getTempo, getTestPlayerSpotInDarkness, getThreatLevel, getTimeSinceLastSmoke, getTimeThumping, getTopSprite, getTorchStrength, getTorsoSprite, getTraits, getUsedItemsOn, getUseHandWeapon, getVeryCloseEnemyList, getWeightMod, getWeldingSoundMod, getWounds, getXp, getXpForLevel, getZombieKills, GiveOrder, GivePersonalNeed, hasActiveModel, hasEquipped, HasItem, hasItems, HasTrait, haveBladeWeapon, Hit, Hit, hitConsequences, HitSilence, InBuildingWith, inflictWound, initLightInfo2, InitSpriteParts, initSpritePartsEmpty, InitSpritePartsZombie, InitSpritePartsZombie, initTextObjects, InRoomWith, isAboveTopOfStairs, isAlive, isAllowConversation, IsArmed, isAsleep, IsAttackRange, IsAttackRange, isAttackWasSuperAttack, isbDoDefer, isbFalling, isbOnBed, isbUseParts, isClimbing, isDead, isEquipped, isEquippedClothing, isFemale, isForceShove, isIgnoreMovementForDirection, isIgnoreStaggerBack, IsInBuilding, isInvisible, isKnownPoison, isLastCollidedN, isLastCollidedW, isMaskClicked, isOnFire, isOutside, isPathing, isPrimaryEquipped, isReading, isReanim, isRecipeKnown, isSafety, isSat, IsSneaking, isSpeaking, IsSpeaking, isSuperAttack, isVisibleToNPCs, Kill, level0, LevelPerk, LevelPerk, LevelUp, load, loadChange, LoseLevel, MoveForward, MoveForward, OnDeath, onMouseLeftClick, openWindow, PainMeds, pathFinished, PathTo, PathTo, PlayAnim, PlayAnimFrame, PlayAnimNoReset, PlayAnimUnlooped, PlayAnimWithSpeed, playDeadSound, PlayShootAnim, playSound, postupdate, QueueAction, ReadLiterature, ReduceHealthWhenBurning, removeEquippedClothing, render, renderlast, renderObjectPicker, rendertalk, resetBodyDamageRemote, resetModel, satOnChair, save, saveChange, Say, Say, SayDebug, SayDebug, SayShout, SayWhisper, Scratched, Seen, sendStopBurning, setAge, setAllowConversation, setAlreadyReadPages, setAngle, SetAnim, setAnimated, SetAnimFrame, setAsleep, setAttackDelay, setAttackDelayMax, setAttackDelayUse, setAttackedBy, setAttackTargetSquare, setAttackWasSuperAttack, setbClimbing, setbDoDefer, setBed, setBedType, setBeenMovingFor, setBetaDelta, setBetaEffect, setbFalling, setBloodImpactX, setBloodImpactY, setBloodImpactZ, setBloodSplat, setBodyDamage, setbOnBed, setBottomsSprite, setbUseParts, setCanUpgradePerk, setChair, setCharacterActions, setClickSound, SetClothing, setClothingItem_Back, setClothingItem_Feet, setClothingItem_Hands, setClothingItem_Head, setClothingItem_Legs, setClothingItem_Torso, setCraftingByIndex, setCraftIngredient1, setCraftIngredient2, setCraftIngredient3, setCraftIngredient4, setDangerLevels, setDefaultState, setDefaultState, setDelayToSleep, setDepressDelta, setDepressEffect, setDescriptor, setDieCount, setDir, setEnemyList, setEquipParent, setFallTime, setFamiliarBuildings, setFemale, setFinder, setFireKillRate, setFireSpreadProbability, setFollowingTarget, setFootStepCounter, setFootStepCounterMax, setForceShove, setForceWakeUpTime, setHairSprite, setHaloNote, setHaloNote, setHaloNote, setHeadSprite, setHealth, setHitBy, setHurtSound, setIgnoreMovementForDirection, setIgnoreStaggerBack, setInf, setInventory, setLastCollidedN, setLastCollidedW, setLastdir, setLastFallSpeed, setLastHeardSound, setLastHitCount, setLastHourSleeped, setLastKnownLocation, setLastLocalEnemies, setLastZombieKills, setLeaveBodyTimedown, setLegsSprite, setLevelUpLevels, setLevelUpMultiplier, setLlx, setLly, setLlz, setLocalEnemyList, setLocalGroupList, setLocalList, setLocalNeutralList, setLocalRelevantEnemyList, setLockStates, setLrx, setLry, setMasterBehaviorList, setMasterProper, setMaxWeight, setMaxWeightBase, setMeetList, setModel, setMoodles, setMoveForwardVec, setNextWander, setNumberOfPerksToPick, setNumSurvivorsInVicinity, setOnFire, SetOnFire, setOrder, setOrders, setPainDelta, setPainEffect, setPath, setPathIndex, setPathing, setPathSpeed, setPathTargetX, setPathTargetY, setPathTargetZ, setPatience, setPatienceMax, setPatienceMin, setPerkList, setPersonality, setPersonalNeed, setPersonalNeeds, setPrimaryHandItem, setReading, setReanim, setReanimAnimDelay, setReanimAnimFrame, setReanimateTimer, setReanimPhase, setRecoilDelay, setReduceInfectionPower, setRemoteID, setRemoteMoveX, setRemoteMoveY, setRemoteState, setSafety, setSafetyCooldown, setSat, setSayLine, setSecondaryHandItem, setShoeSprite, setSleepingTabletDelta, setSleepingTabletEffect, setSlowFactor, setSlowTimer, setSpeakColour, setSpeakColourInfo, setSpeaking, setSpeakTime, setSpeedMod, setStaggerTimeMod, setStateMachine, setStats, setSuperAttack, setSurvivorKills, setSurvivorMap, setTagGroup, setTemperature, setTempo, setTestPlayerSpotInDarkness, setTimeOfSleep, setTimeSinceLastSmoke, setTimeThumping, setTopSprite, setTorsoSprite, setTraits, setUsedItemsOn, setUseHandWeapon, setVeryCloseEnemyList, setVisibleToNPCs, setWounds, setXp, setZombieKills, shouldBecomeZombieAfterDeath, SleepingTablet, smashWindow, splatBlood, splatBloodFloor, splatBloodFloorBig, SpreadFire, StartAction, StopAllActionQueue, StopAllActionQueueAiming, StopAllActionQueueRunning, StopAllActionQueueWalking, StopBurning, Throw, update, updateEmitter, updateLightInfo, updateTextObjects, updateUserName
Methods inherited from class zombie.iso.IsoMovingObject
collideCharacter, collideWith, compareToY, Despawn, DistTo, DistTo, DistToProper, DistToSquared, DistToSquared, DoCollideNorS, DoCollideWorE, doStairs, ensureOnTile, getActiveInInstances, getAllowBehaviours, getBuilding, getCollidedObject, getCurrentSquare, getCurrentZone, getFacingPosition, getFeelersize, getFeelerTile, getFuturWalkedSquare, getGlobalMovementMod, getGlobalMovementMod, getHitDir, getHitForce, getHitFromAngle, getID, getIDCount, getImpulsex, getImpulsey, getLastSquare, getLastTargettedBy, getLimpulsex, getLimpulsey, getLx, getLy, getLz, getMovementLastFrame, getNx, getNy, getObjectName, getPathFindIndex, getScreenX, getScreenY, getScriptModule, getScriptName, getScriptnx, getScriptny, getSquare, getStateEventDelayTimer, getThumpTarget, getTimeSinceZombieAttack, getVectorFromDirection, getWeight, getWeight, getWidth, getX, getY, getZ, isAllowBehaviours, isbAltCollide, isCharacter, isCloseKilled, isCollidable, isCollidedE, isCollidedN, isCollidedS, isCollidedThisFrame, isCollidedW, isCollidedWithDoor, isDestroyed, isFirstUpdate, isOnFloor, isShootable, isSolid, Move, onMouseRightClick, onMouseRightReleased, preupdate, removeFromSquare, removeFromWorld, seperate, setActiveInInstances, setAllowBehaviours, setbAltCollide, setBlendSpeed, setCloseKilled, setCollidable, setCollidedE, setCollidedN, setCollidedObject, setCollidedS, setCollidedThisFrame, setCollidedW, setCollidedWithDoor, setCurrent, setDestroyed, setFeelersize, setFirstUpdate, setHitDir, setHitForce, setHitFromAngle, setID, setIDCount, setImpulsex, setImpulsey, setLast, setLastTargettedBy, setLimpulsex, setLimpulsey, setLx, setLy, setLz, setMovementLastFrame, setNx, setNy, setOnFloor, setPathFindIndex, setScriptModule, setScriptName, setScriptnx, setScriptny, setShootable, setSolid, setStateEventDelayTimer, setThumpTarget, setTimeSinceZombieAttack, setWeight, setWidth, setX, setY, setZ, spotted
Methods inherited from class zombie.iso.IsoObject
addChild, addSecondaryContainer, addToWorld, AttachAnim, AttachExistingAnim, AttachExistingAnim, AttackObject, checkHaveElectricity, createChecksum, createContainersFromSpriteProperties, debugPrintout, DirtySlice, DoChecksumCheck, DoChecksumCheck, doFindExternalWaterSource, DoSpecialTooltip, DoTooltip, factoryClassFromFileInput, factoryFromFileInput, factoryFromFileInput, FindExternalWaterSource, getAlpha, getAlphaStep, getAttachedAnimSprite, getCell, getChildSprites, getContainer, getContainerByEitherType, getContainerByIndex, getContainerByType, getContainerCount, getContainerIndex, getCustomColor, getDamage, getDir, getFacingPositionAlt, getHighlightColor, getIsSurfaceNormalOffset, getItemContainer, getKeyId, getLastRendered, getLastRenderedRendered, getMaskClickedY, getMD5Checksum, getModData, getName, getNew, getObjectIndex, getOffsetX, getOffsetY, getOverlaySprite, getOverlaySpriteColor, getProperties, getRenderYOffset, getRerouteCollide, getRerouteMask, getRerouteMaskObject, getSpecialObjectIndex, getSprite, getSpriteName, getStaticMovingObjectIndex, getSurfaceNormalOffset, getSurfaceOffset, getTable, getTargetAlpha, getTextureName, getTile, getType, getUsesExternalWaterSource, getWaterAmount, getWorldObjectIndex, hasExternalWaterSource, hasModData, HasTooltip, hasWater, haveSpecialTooltip, isBlink, isMaskClicked, isNoPicking, isOutlineOnMouseover, isTableSurface, isTableTopObject, isZombie, loadFromRemoteBuffer, loadFromRemoteBuffer, removeAllContainers, RemoveAttachedAnim, RemoveAttachedAnims, render, replaceItem, reset, reuseGridSquare, sendObjectChange, sendObjectChange, sendObjectChange, Serialize, setAlpha, setAlphaStep, setAttachedAnimSprite, setBlink, setChildSprites, setContainer, setCustomColor, setCustomColor, setDamage, setDefaultCondition, setDir, setHighlightColor, setHighlighted, setKeyId, setLastRendered, setLastRenderedRendered, setName, SetName, setNoPicking, setOffsetX, setOffsetY, setOutlineOnMouseover, setOverlaySprite, setOverlaySprite, setOverlaySprite, setOverlaySpriteColor, setRenderYOffset, setRerouteCollide, setRerouteMask, setSpecialTooltip, setSprite, setSprite, setSpriteFromName, setSquare, setTable, setTargetAlpha, setType, setUsesExternalWaterSource, setWaterAmount, syncIsoObject, syncIsoObjectSend, TestCollide, TestPathfindCollide, TestVision, transmitCompleteItemToClients, transmitCompleteItemToServer, transmitCustomColor, transmitModData, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToServer, useItemOn, useWater, writeToRemoteBuffer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface zombie.chat.ChatElementOwner
getSquare, getX, getY, getZ
-
Field Details
-
useChargeDelta
public float useChargeDelta -
bareHands
-
bDoShove
public boolean bDoShove -
bCollidedWithPushable
public boolean bCollidedWithPushable -
targetOnGround
-
-
Constructor Details
-
IsoLivingCharacter
-
-
Method Details
-
isAimAtFloor
public boolean isAimAtFloor() -
setAimAtFloor
public void setAimAtFloor(boolean b) -
isCollidedWithPushableThisFrame
public boolean isCollidedWithPushableThisFrame() -
AttemptAttack
public boolean AttemptAttack(float ChargeDelta) -
DoAttack
public boolean DoAttack(float ChargeDelta)
-