Package zombie.iso.objects
Class IsoDeadBody
java.lang.Object
zombie.iso.IsoObject
zombie.iso.IsoMovingObject
zombie.iso.objects.IsoDeadBody
public class IsoDeadBody extends IsoMovingObject implements Talker
- See Also:
- Serialized Form
-
Nested Class Summary
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 Texture
atlasTex
IsoSprite
bottomsSprite
boolean
bUseParts
InventoryItem
ClothingItem_Feet
InventoryItem
ClothingItem_Hands
InventoryItem
ClothingItem_Head
InventoryItem
ClothingItem_Legs
InventoryItem
ClothingItem_Torso
int
DescriptorID
java.util.ArrayList
extraSprites
IsoSprite
legsSprite
java.lang.String
sayLine
boolean
Speaking
IsoSprite
topSprite
boolean
wasZombie
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, emitter, 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 IsoDeadBody(IsoGameCharacter died)
IsoDeadBody(IsoGameCharacter died, boolean wasCorpseAlready)
IsoDeadBody(IsoCell cell)
-
Method Summary
Modifier and Type Method Description void
addToWorld()
void
Burn()
void
checkClothing()
InventoryItem
getItem()
java.lang.String
getObjectName()
java.lang.String
getSayLine()
java.lang.String
getTalkerType()
boolean
IsSpeaking()
void
load(java.nio.ByteBuffer input, int WorldVersion)
void
reanimate()
void
reanimateLater()
void
reanimateNow()
void
removeFromWorld()
void
render(float x, float y, float z, ColorInfo col, boolean bDoChild)
void
renderlast()
void
renderObjectPicker(float x, float y, float z, ColorInfo lightInfo)
static void
Reset()
void
save(java.nio.ByteBuffer output)
void
Say(java.lang.String line)
void
setReanimateTime(float hours)
void
update()
static void
updateBodies()
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, getPathFindIndex, getScreenX, getScreenY, getScriptModule, getScriptName, getScriptnx, getScriptny, getSquare, getStateEventDelayTimer, getTempo, getThumpTarget, getTimeSinceZombieAttack, getVectorFromDirection, getWeight, getWeight, getWidth, getX, getY, getZ, Hit, isAllowBehaviours, isbAltCollide, isCharacter, isCloseKilled, isCollidable, isCollidedE, isCollidedN, isCollidedS, isCollidedThisFrame, isCollidedW, isCollidedWithDoor, isDestroyed, isFirstUpdate, isOnFloor, isShootable, isSolid, Move, onMouseRightClick, onMouseRightReleased, postupdate, preupdate, removeFromSquare, 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, setTempo, setThumpTarget, setTimeSinceZombieAttack, setWeight, setWidth, setX, setY, setZ, spotted
Methods inherited from class zombie.iso.IsoObject
addChild, addSecondaryContainer, 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, isMaskClicked, isNoPicking, isOutlineOnMouseover, isTableSurface, isTableTopObject, isZombie, loadChange, loadFromRemoteBuffer, loadFromRemoteBuffer, onMouseLeftClick, removeAllContainers, RemoveAttachedAnim, RemoveAttachedAnims, render, replaceItem, reset, reuseGridSquare, saveChange, sendObjectChange, sendObjectChange, sendObjectChange, Serialize, setAlpha, setAlphaStep, setAttachedAnimSprite, setBlink, setChildSprites, setContainer, setCustomColor, setCustomColor, setDamage, setDefaultCondition, setDir, 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
-
Field Details
-
ClothingItem_Head
-
ClothingItem_Torso
-
ClothingItem_Hands
-
ClothingItem_Legs
-
ClothingItem_Feet
-
legsSprite
-
topSprite
-
bottomsSprite
-
wasZombie
public boolean wasZombie -
bUseParts
public boolean bUseParts -
extraSprites
public java.util.ArrayList extraSprites -
DescriptorID
public int DescriptorID -
atlasTex
-
Speaking
public boolean Speaking -
sayLine
public java.lang.String sayLine
-
-
Constructor Details
-
IsoDeadBody
-
IsoDeadBody
-
IsoDeadBody
-
-
Method Details
-
getObjectName
public java.lang.String getObjectName()- Overrides:
getObjectName
in classIsoMovingObject
-
getItem
-
load
public void load(java.nio.ByteBuffer input, int WorldVersion) throws java.io.IOException- Overrides:
load
in classIsoMovingObject
- Throws:
java.io.IOException
-
save
public void save(java.nio.ByteBuffer output) throws java.io.IOException- Overrides:
save
in classIsoMovingObject
- Throws:
java.io.IOException
-
renderlast
public void renderlast()- Overrides:
renderlast
in classIsoMovingObject
-
render
-
renderObjectPicker
- Overrides:
renderObjectPicker
in classIsoObject
-
Burn
public void Burn() -
checkClothing
public void checkClothing() -
IsSpeaking
public boolean IsSpeaking()- Specified by:
IsSpeaking
in interfaceTalker
-
Say
public void Say(java.lang.String line) -
getSayLine
public java.lang.String getSayLine()- Specified by:
getSayLine
in interfaceTalker
-
getTalkerType
public java.lang.String getTalkerType()- Specified by:
getTalkerType
in interfaceTalker
-
addToWorld
public void addToWorld()- Overrides:
addToWorld
in classIsoObject
-
removeFromWorld
public void removeFromWorld()- Overrides:
removeFromWorld
in classIsoMovingObject
-
updateBodies
public static void updateBodies() -
setReanimateTime
public void setReanimateTime(float hours) -
reanimateLater
public void reanimateLater() -
reanimateNow
public void reanimateNow() -
update
public void update()- Overrides:
update
in classIsoMovingObject
-
reanimate
public void reanimate() -
Reset
public static void Reset()
-