Package zombie.iso.objects
Class IsoDeadBody
java.lang.Object
zombie.iso.IsoObject
zombie.iso.IsoMovingObject
zombie.iso.objects.IsoDeadBody
- All Implemented Interfaces:
java.io.Serializable
,Mover
,Talker
,IHumanVisual
,Thumpable
public final class IsoDeadBody extends IsoMovingObject implements Talker, IHumanVisual
- 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.IsoObjectFactory, IsoObject.OutlineShader, IsoObject.VisionResult
-
Field Summary
Fields Modifier and Type Field Description Texture
atlasTex
static int
MAX_ROT_STAGES
java.lang.String
sayLine
boolean
Speaking
Fields inherited from class zombie.iso.IsoMovingObject
bOutline, Collidable, current, def, hitDir, ID, last, lx, ly, lz, MAX_ZOMBIES_EATING, movementLastFrame, movingSq, noDamage, nx, ny, outlineColor, ScriptModule, scriptnx, scriptny, shootable, solid, treeSoundMgr, weight, width, x, y, z
Fields inherited from class zombie.iso.IsoObject
AttachedAnimSprite, bAlphaForced, bmod, bMovedThumpable, bNeverDoneAlpha, container, Damage, dir, doNotSync, emitter, externalWaterSource, gmod, highlightFlags, isOutlineHighlight, isOutlineHlAttached, isOutlineHlBlink, keyId, lastRendered, lastRenderedRendered, LowLightingQualityHack, MAX_WALL_SPLATS, name, NoPicking, OBF_Blink, OBF_Highlighted, OBF_HighlightRenderOnce, objectRenderEffects, offsetX, offsetY, outlineHighlightCol, OutlineOnMouseover, overlaySprite, overlaySpriteColor, partialThumpDmg, rerouteCollide, rerouteMask, rmod, sheetRope, sheetRopeHealth, sprite, spriteName, square, sx, sy, table, tintb, tintg, tintr, usesExternalWaterSource, wallBloodSplats, windRenderEffects
-
Constructor Summary
Constructors Constructor Description IsoDeadBody(IsoGameCharacter gameCharacter)
IsoDeadBody(IsoGameCharacter gameCharacter, boolean boolean1)
IsoDeadBody(IsoCell cell)
-
Method Summary
Modifier and Type Method Description void
addToWorld()
void
Burn()
void
checkClothing(InventoryItem inventoryItem)
void
Collision(Vector2 vector2, IsoObject object)
float
getAngle()
AttachedItems
getAttachedItems()
HumanVisual
getHumanVisual()
InventoryItem
getItem()
void
getItemVisuals(ItemVisuals itemVisuals)
java.lang.String
getObjectName()
short
getOnlineID()
java.lang.String
getOutfitName()
InventoryItem
getPrimaryHandItem()
java.lang.String
getSayLine()
InventoryItem
getSecondaryHandItem()
java.lang.String
getTalkerType()
WornItems
getWornItems()
boolean
isCrawling()
static boolean
isDead(short short1)
boolean
isFakeDead()
boolean
isFallOnFront()
boolean
isFemale()
boolean
isMouseOver(float float1, float float2)
boolean
isSkeleton()
boolean
IsSpeaking()
boolean
isZombie()
void
load(java.nio.ByteBuffer byteBuffer, int int1, boolean boolean1)
java.lang.String
readInventory(java.nio.ByteBuffer byteBuffer)
void
reanimate()
void
reanimateLater()
void
reanimateNow()
void
removeFromWorld()
void
render(float float1, float float2, float float3, ColorInfo colorInfo, boolean boolean1, boolean boolean2, Shader shader)
void
renderlast()
void
renderObjectPicker(float float1, float float2, float float3, ColorInfo colorInfo)
void
renderShadow()
static void
renderShadow(float float1, float float2, float float3, Vector3f vector3f, float float4, float float5, float float6, ColorInfo colorInfo, float float7)
static void
Reset()
void
save(java.nio.ByteBuffer byteBuffer, boolean boolean1)
void
Say(java.lang.String string)
void
setAttachedItems(AttachedItems attachedItems)
void
setContainer(ItemContainer itemContainer)
void
setCrawling(boolean boolean1)
void
setFakeDead(boolean boolean1)
void
setFallOnFront(boolean boolean1)
void
setPrimaryHandItem(InventoryItem inventoryItem)
void
setReanimateTime(float float1)
void
setSecondaryHandItem(InventoryItem inventoryItem)
void
setWornItems(WornItems wornItems)
void
softReset()
void
update()
static void
updateBodies()
Methods inherited from class zombie.iso.IsoMovingObject
canHaveMultipleHits, collideWith, compareToY, Despawn, DistTo, DistTo, distToNearestCamCharacter, DistToProper, DistToSquared, DistToSquared, DoCollideNorS, DoCollideWorE, doStairs, ensureOnTile, getBuilding, getBumpedType, getCollidedObject, getCollideType, getCurrentBuilding, getCurrentSquare, getCurrentZone, getDistanceSq, getEatingZombies, getFacingPosition, getFeelersize, getFeelerTile, getFuturWalkedSquare, getGlobalMovementMod, getGlobalMovementMod, getHitDir, getHitForce, getHitFromAngle, getID, getIDCount, getImpulsex, getImpulsey, getLastCollideTime, getLastSquare, getLastTargettedBy, getLimpulsex, getLimpulsey, getLx, getLy, getLz, getMasterRegion, getMovementLastFrame, getNoDamage, getNx, getNy, getPathFindIndex, getPosition, getScreenX, getScreenY, getScriptModule, getScriptnx, getScriptny, getSquare, getStateEventDelayTimer, getThumpTarget, getTimeSinceZombieAttack, getVectorFromDirection, getVectorFromDirection, getWeight, getWeight, getWidth, getX, getY, getZ, Hit, isbAltCollide, isCharacter, isCloseKilled, isCollidable, isCollided, isCollidedE, isCollidedN, isCollidedS, isCollidedThisFrame, isCollidedW, isCollidedWithDoor, isCollidedWithVehicle, isDestroyed, isEatingOther, isFirstUpdate, isOnFloor, isPushableForSeparate, isPushedByForSeparate, isShootable, isSolid, isSolidForSeparate, isZombiesDontAttack, Move, MoveUnmodded, onMouseRightClick, onMouseRightReleased, postupdate, preupdate, removeFromSquare, separate, setbAltCollide, setCloseKilled, setCollidable, setCollidedE, setCollidedN, setCollidedObject, setCollidedS, setCollidedThisFrame, setCollidedW, setCollidedWithDoor, setCollideType, setCurrent, setDestroyed, setEatingZombies, setFeelersize, setFirstUpdate, setHitDir, setHitForce, setHitFromAngle, setID, setIDCount, setImpulsex, setImpulsey, setLast, setLastCollideTime, setLastTargettedBy, setLimpulsex, setLimpulsey, setLx, setLy, setLz, setMovementLastFrame, setMovingSquareNow, setNoDamage, setNx, setNy, setOnFloor, setPathFindIndex, setScriptModule, setScriptnx, setScriptny, setShootable, setSolid, setStateEventDelayTimer, setThumpTarget, setTimeSinceZombieAttack, setWeight, setWidth, setX, setY, setZ, setZombiesDontAttack, spotted
Methods inherited from class zombie.iso.IsoObject
addChild, addItemsFromProperties, addSecondaryContainer, addSheetRope, AttachAnim, AttachExistingAnim, AttachExistingAnim, AttackObject, canAddSheetRope, checkHaveElectricity, checkMoveWithWind, checkMoveWithWind, cleanWallBlood, clearAttachedAnimSprite, countAddSheetRope, createContainersFromSpriteProperties, customHashCode, Damage, debugPrintout, destroyFence, DirtySlice, doFindExternalWaterSource, DoSpecialTooltip, DoTooltip, factoryClassFromFileInput, factoryFromFileInput, factoryFromFileInput, factoryFromFileInput_OLD, factoryGetClassID, FindExternalWaterSource, FindExternalWaterSource, FindWaterSourceOnSquare, getAlpha, getAlpha, getAlphaUpdateRateDiv, getAlphaUpdateRateMul, getAttachedAnimSprite, getCell, getChildSprites, getContainer, getContainerByEitherType, getContainerByIndex, getContainerByType, getContainerCount, getContainerIndex, getCustomColor, getDamage, getDir, getFacingPositionAlt, getFactoryVehicle, getHighlightColor, getIsSurfaceNormalOffset, getItemContainer, getKeyId, getLastRendered, getLastRenderedRendered, getMaskClickedY, getModData, getMovingObjectIndex, getName, getNew, getNew, getObjectIndex, getObjectRenderEffects, getObjectRenderEffectsToApply, getOffsetX, getOffsetY, getOutlineHighlightCol, getOutlineHighlightCol, getOutlineThickness, getOverlaySprite, getOverlaySpriteColor, getPipedFuelAmount, getProperties, getRenderEffectMaster, getRenderYOffset, getRerouteCollide, getRerouteMask, getRerouteMaskObject, getScriptName, getSpecialObjectIndex, getSprite, getSpriteGridObjects, getSpriteName, getStaticMovingObjectIndex, getSurfaceNormalOffset, getSurfaceOffset, getSurfaceOffsetNoTable, getTable, getTargetAlpha, getTargetAlpha, getTextureName, getThumpableFor, getThumpCondition, getTile, getType, getUsesExternalWaterSource, GetVehicleSlowFactor, getWaterAmount, getWaterMax, getWindRenderEffects, getWorldObjectIndex, hasExternalWaterSource, hasModData, HasTooltip, hasWater, haveSheetRope, haveSpecialTooltip, Hit, HitByVehicle, isAlphaAndTargetZero, isAlphaAndTargetZero, isAlphaZero, isAlphaZero, isBlink, isExistInTheWorld, isHighlighted, isHoppable, isItemAllowedInContainer, isMaskClicked, isMaskClicked, isMovedThumpable, isNoPicking, isNorthHoppable, isOutlineHighlight, isOutlineHighlight, isOutlineHlAttached, isOutlineHlAttached, isOutlineHlBlink, isOutlineHlBlink, isOutlineOnMouseover, isRemoveItemAllowedFromContainer, isSpriteInvisible, isStairsNorth, isStairsObject, isStairsWest, isTableSurface, isTableTopObject, isTaintedWater, isTargetAlphaZero, isUpdateAlphaDuringRender, isUpdateAlphaEnabled, load, loadChange, loadFromRemoteBuffer, loadFromRemoteBuffer, loadState, onMouseLeftClick, removeAllContainers, RemoveAttachedAnim, RemoveAttachedAnims, removeRenderEffect, removeSheetRope, renderAttachedAndOverlaySprites, renderFloorTile, renderFxMask, renderWallTile, renderWallTileOnly, replaceItem, reset, reuseGridSquare, save, saveChange, saveState, sendObjectChange, sendObjectChange, sendObjectChange, Serialize, setAlpha, setAlpha, setAlphaAndTarget, setAlphaAndTarget, setAlphaToTarget, setAttachedAnimSprite, setBlink, setChildSprites, setCustomColor, setCustomColor, setDamage, setDefaultCondition, setDir, setDir, setHighlightColor, setHighlightColor, setHighlighted, setHighlighted, setKeyId, setLastRendered, setLastRenderedRendered, setMovedThumpable, setName, SetName, setNoPicking, setOffsetX, setOffsetY, setOutlineHighlight, setOutlineHighlight, setOutlineHighlightCol, setOutlineHighlightCol, setOutlineHighlightCol, setOutlineHighlightCol, setOutlineHlAttached, setOutlineHlAttached, setOutlineHlBlink, setOutlineHlBlink, setOutlineOnMouseover, setOutlineThickness, setOverlaySprite, setOverlaySprite, setOverlaySprite, setOverlaySprite, setOverlaySpriteColor, setPipedFuelAmount, setRenderEffect, setRenderEffect, setRenderYOffset, setRerouteCollide, setRerouteMask, setSpecialTooltip, setSprite, setSprite, setSpriteFromName, setSquare, setTable, setTaintedWater, setTargetAlpha, setTargetAlpha, setType, setUsesExternalWaterSource, setWaterAmount, syncIsoObject, syncIsoObjectSend, TestCollide, TestPathfindCollide, TestVision, Thump, transmitCompleteItemToClients, transmitCompleteItemToServer, transmitCustomColor, transmitModData, transmitUpdatedSprite, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToServer, UnCollision, unsetOutlineHighlight, updateAlpha, updateAlpha, updateAlpha, useItemOn, useWater, WeaponHit, writeToRemoteBuffer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
MAX_ROT_STAGES
public static final int MAX_ROT_STAGES- See Also:
- Constant Field Values
-
atlasTex
-
Speaking
public boolean Speaking -
sayLine
public java.lang.String sayLine
-
-
Constructor Details
-
IsoDeadBody
-
IsoDeadBody
-
IsoDeadBody
-
-
Method Details
-
isDead
public static boolean isDead(short short1) -
getObjectName
public java.lang.String getObjectName()- Overrides:
getObjectName
in classIsoMovingObject
-
getHumanVisual
- Specified by:
getHumanVisual
in interfaceIHumanVisual
-
getItemVisuals
- Specified by:
getItemVisuals
in interfaceIHumanVisual
-
isFemale
public boolean isFemale()- Specified by:
isFemale
in interfaceIHumanVisual
-
isZombie
public boolean isZombie()- Specified by:
isZombie
in interfaceIHumanVisual
- Overrides:
isZombie
in classIsoObject
-
isCrawling
public boolean isCrawling() -
setCrawling
public void setCrawling(boolean boolean1) -
isFakeDead
public boolean isFakeDead() -
setFakeDead
public void setFakeDead(boolean boolean1) -
getOnlineID
public short getOnlineID() -
isSkeleton
public boolean isSkeleton()- Specified by:
isSkeleton
in interfaceIHumanVisual
-
setWornItems
-
getWornItems
-
setAttachedItems
-
getAttachedItems
-
getItem
-
load
public void load(java.nio.ByteBuffer byteBuffer, int int1, boolean boolean1) throws java.io.IOException- Overrides:
load
in classIsoMovingObject
- Throws:
java.io.IOException
-
save
public void save(java.nio.ByteBuffer byteBuffer, boolean boolean1) throws java.io.IOException- Overrides:
save
in classIsoMovingObject
- Throws:
java.io.IOException
-
softReset
public void softReset() -
renderlast
public void renderlast()- Overrides:
renderlast
in classIsoMovingObject
-
render
-
renderShadow
public void renderShadow() -
renderShadow
-
renderObjectPicker
- Overrides:
renderObjectPicker
in classIsoObject
-
isMouseOver
public boolean isMouseOver(float float1, float float2) -
Burn
public void Burn() -
setContainer
- Overrides:
setContainer
in classIsoObject
-
checkClothing
-
IsSpeaking
public boolean IsSpeaking()- Specified by:
IsSpeaking
in interfaceTalker
-
Say
public void Say(java.lang.String string) -
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 float1) -
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() -
Collision
-
isFallOnFront
public boolean isFallOnFront() -
setFallOnFront
public void setFallOnFront(boolean boolean1) -
getPrimaryHandItem
-
setPrimaryHandItem
-
getSecondaryHandItem
-
setSecondaryHandItem
-
getAngle
public float getAngle() -
getOutfitName
public java.lang.String getOutfitName() -
readInventory
public java.lang.String readInventory(java.nio.ByteBuffer byteBuffer)
-