Package zombie.iso.objects
Class IsoMannequin
java.lang.Object
zombie.iso.IsoObject
zombie.iso.objects.IsoMannequin
- All Implemented Interfaces:
java.io.Serializable
,IHumanVisual
,Thumpable
public class IsoMannequin extends IsoObject implements IHumanVisual
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IsoMannequin.MannequinZone
Nested classes/interfaces inherited from class zombie.iso.IsoObject
IsoObject.IsoObjectFactory, IsoObject.OutlineShader, IsoObject.VisionResult
-
Field Summary
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 IsoMannequin(IsoCell cell)
IsoMannequin(IsoCell cell, IsoGridSquare square, IsoSprite sprite)
-
Method Summary
Modifier and Type Method Description void
addToWorld()
void
checkClothing(InventoryItem inventoryItem)
void
getCustomSettingsFromItem(InventoryItem inventoryItem)
static IsoDirections
getDirectionFromItem(Moveable moveable, int int1)
HumanVisual
getHumanVisual()
void
getItemVisuals(ItemVisuals itemVisuals)
java.lang.String
getObjectName()
java.lang.String
getPose()
void
getVariables(java.util.Map map)
boolean
isFemale()
boolean
isItemAllowedInContainer(ItemContainer itemContainer, InventoryItem inventoryItem)
static boolean
isMannequinSprite(IsoSprite sprite)
boolean
isSkeleton()
boolean
isZombie()
void
load(java.nio.ByteBuffer byteBuffer, int int1, boolean boolean1)
void
loadChange(java.lang.String string, java.nio.ByteBuffer byteBuffer)
void
loadState(java.nio.ByteBuffer byteBuffer)
void
render(float float1, float float2, float float3, ColorInfo colorInfo, boolean boolean1, boolean boolean2, Shader shader)
void
renderFxMask(float float1, float float2, float float3, boolean boolean1)
static void
renderMoveableItem(Moveable moveable, int int1, int int2, int int3, IsoDirections directions)
static void
renderMoveableObject(IsoMannequin mannequin, int int1, int int2, int int3, IsoDirections directions)
void
rotate(IsoDirections directions)
void
save(java.nio.ByteBuffer byteBuffer, boolean boolean1)
void
saveChange(java.lang.String string, KahluaTable kahluaTable, java.nio.ByteBuffer byteBuffer)
void
saveState(java.nio.ByteBuffer byteBuffer)
void
setCustomSettingsToItem(InventoryItem inventoryItem)
void
setRenderDirection(IsoDirections directions)
void
wearItem(InventoryItem inventoryItem, IsoGameCharacter gameCharacter)
Methods inherited from class zombie.iso.IsoObject
addChild, addItemsFromProperties, addSecondaryContainer, addSheetRope, AttachAnim, AttachExistingAnim, AttachExistingAnim, AttackObject, canAddSheetRope, checkHaveElectricity, checkMoveWithWind, checkMoveWithWind, cleanWallBlood, clearAttachedAnimSprite, Collision, 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, getFacingPosition, 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, getSquare, getStaticMovingObjectIndex, getSurfaceNormalOffset, getSurfaceOffset, getSurfaceOffsetNoTable, getTable, getTargetAlpha, getTargetAlpha, getTextureName, getThumpableFor, getThumpCondition, getTile, getType, getUsesExternalWaterSource, GetVehicleSlowFactor, getWaterAmount, getWaterMax, getWindRenderEffects, getWorldObjectIndex, getX, getY, getZ, hasExternalWaterSource, hasModData, HasTooltip, hasWater, haveSheetRope, haveSpecialTooltip, Hit, HitByVehicle, isAlphaAndTargetZero, isAlphaAndTargetZero, isAlphaZero, isAlphaZero, isBlink, isCharacter, isDestroyed, isExistInTheWorld, isHighlighted, isHoppable, isMaskClicked, isMaskClicked, isMovedThumpable, isNoPicking, isNorthHoppable, isOutlineHighlight, isOutlineHighlight, isOutlineHlAttached, isOutlineHlAttached, isOutlineHlBlink, isOutlineHlBlink, isOutlineOnMouseover, isRemoveItemAllowedFromContainer, isSpriteInvisible, isStairsNorth, isStairsObject, isStairsWest, isTableSurface, isTableTopObject, isTaintedWater, isTargetAlphaZero, isUpdateAlphaDuringRender, isUpdateAlphaEnabled, load, loadFromRemoteBuffer, loadFromRemoteBuffer, onMouseLeftClick, onMouseRightClick, onMouseRightReleased, removeAllContainers, RemoveAttachedAnim, RemoveAttachedAnims, removeFromSquare, removeFromWorld, removeRenderEffect, removeSheetRope, renderAttachedAndOverlaySprites, renderFloorTile, renderlast, renderObjectPicker, renderWallTile, renderWallTileOnly, replaceItem, reset, reuseGridSquare, save, sendObjectChange, sendObjectChange, sendObjectChange, Serialize, setAlpha, setAlpha, setAlphaAndTarget, setAlphaAndTarget, setAlphaToTarget, setAttachedAnimSprite, setBlink, setChildSprites, setContainer, 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, softReset, syncIsoObject, syncIsoObjectSend, TestCollide, TestPathfindCollide, TestVision, Thump, transmitCompleteItemToClients, transmitCompleteItemToServer, transmitCustomColor, transmitModData, transmitUpdatedSprite, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToServer, UnCollision, unsetOutlineHighlight, update, 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
-
Constructor Details
-
IsoMannequin
-
IsoMannequin
-
-
Method Details
-
getObjectName
public java.lang.String getObjectName()- Overrides:
getObjectName
in classIsoObject
-
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
-
isSkeleton
public boolean isSkeleton()- Specified by:
isSkeleton
in interfaceIHumanVisual
-
isItemAllowedInContainer
- Overrides:
isItemAllowedInContainer
in classIsoObject
-
getPose
public java.lang.String getPose() -
setRenderDirection
-
rotate
-
saveChange
public void saveChange(java.lang.String string, KahluaTable kahluaTable, java.nio.ByteBuffer byteBuffer)- Overrides:
saveChange
in classIsoObject
-
loadChange
public void loadChange(java.lang.String string, java.nio.ByteBuffer byteBuffer)- Overrides:
loadChange
in classIsoObject
-
getVariables
public void getVariables(java.util.Map map) -
load
public void load(java.nio.ByteBuffer byteBuffer, int int1, boolean boolean1) throws java.io.IOException -
save
public void save(java.nio.ByteBuffer byteBuffer, boolean boolean1) throws java.io.IOException -
saveState
public void saveState(java.nio.ByteBuffer byteBuffer) throws java.io.IOException -
loadState
public void loadState(java.nio.ByteBuffer byteBuffer) throws java.io.IOException -
addToWorld
public void addToWorld()- Overrides:
addToWorld
in classIsoObject
-
render
-
renderFxMask
public void renderFxMask(float float1, float float2, float float3, boolean boolean1)- Overrides:
renderFxMask
in classIsoObject
-
wearItem
-
checkClothing
-
getCustomSettingsFromItem
- Throws:
java.io.IOException
-
setCustomSettingsToItem
- Throws:
java.io.IOException
-
isMannequinSprite
-
renderMoveableItem
public static void renderMoveableItem(Moveable moveable, int int1, int int2, int int3, IsoDirections directions) -
renderMoveableObject
public static void renderMoveableObject(IsoMannequin mannequin, int int1, int int2, int int3, IsoDirections directions) -
getDirectionFromItem
-