Package zombie.iso.objects
Class IsoWorldInventoryObject
java.lang.Object
zombie.iso.IsoObject
zombie.iso.objects.IsoWorldInventoryObject
- All Implemented Interfaces:
java.io.Serializable
public class IsoWorldInventoryObject extends IsoObject
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class zombie.iso.IsoObject
IsoObject.VisionResult
-
Field Summary
Fields Modifier and Type Field Description double
dropTime
InventoryItem
item
boolean
removeProcess
float
xoff
float
yoff
float
zoff
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 IsoWorldInventoryObject(InventoryItem item, IsoGridSquare sq, float xoff, float yoff, float zoff)
IsoWorldInventoryObject(IsoCell cell)
-
Method Summary
Modifier and Type Method Description void
addToWorld()
void
DoTooltip(ObjectTooltip tooltipUI)
boolean
finishupdate()
InventoryItem
getItem()
java.lang.String
getObjectName()
boolean
HasTooltip()
void
load(java.nio.ByteBuffer input, int WorldVersion)
boolean
onMouseLeftClick(int x, int y)
void
removeFromSquare()
void
removeFromWorld()
void
render(float x, float y, float z, ColorInfo col, boolean bDoChild)
void
renderObjectPicker(float x, float y, float z, ColorInfo lightInfo)
void
save(java.nio.ByteBuffer output)
boolean
Serialize()
void
update()
void
updateSprite()
Methods inherited from class zombie.iso.IsoObject
addChild, addSecondaryContainer, AttachAnim, AttachExistingAnim, AttachExistingAnim, AttackObject, checkHaveElectricity, createChecksum, createContainersFromSpriteProperties, debugPrintout, DirtySlice, DoChecksumCheck, DoChecksumCheck, doFindExternalWaterSource, DoSpecialTooltip, factoryClassFromFileInput, factoryFromFileInput, factoryFromFileInput, FindExternalWaterSource, getAlpha, getAlphaStep, getAttachedAnimSprite, getCell, getChildSprites, getContainer, getContainerByEitherType, getContainerByIndex, getContainerByType, getContainerCount, getContainerIndex, getCustomColor, getDamage, getDir, getFacingPosition, getFacingPositionAlt, getHighlightColor, getIsSurfaceNormalOffset, getItemContainer, getKeyId, getLastRendered, getLastRenderedRendered, getMaskClickedY, getMD5Checksum, getModData, getName, getNew, getObjectIndex, getOffsetX, getOffsetY, getOverlaySprite, getOverlaySpriteColor, getProperties, getRenderYOffset, getRerouteCollide, getRerouteMask, getRerouteMaskObject, getScriptName, getSpecialObjectIndex, getSprite, getSpriteName, getSquare, getStaticMovingObjectIndex, getSurfaceNormalOffset, getSurfaceOffset, getTable, getTargetAlpha, getTextureName, getTile, getType, getUsesExternalWaterSource, getWaterAmount, getWorldObjectIndex, getX, getY, getZ, hasExternalWaterSource, hasModData, hasWater, haveSpecialTooltip, isBlink, isCharacter, isMaskClicked, isMaskClicked, isNoPicking, isOutlineOnMouseover, isTableSurface, isTableTopObject, isZombie, loadChange, loadFromRemoteBuffer, loadFromRemoteBuffer, onMouseRightClick, onMouseRightReleased, removeAllContainers, RemoveAttachedAnim, RemoveAttachedAnims, render, renderlast, replaceItem, reset, reuseGridSquare, saveChange, sendObjectChange, sendObjectChange, sendObjectChange, 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
-
item
-
xoff
public float xoff -
yoff
public float yoff -
zoff
public float zoff -
removeProcess
public boolean removeProcess -
dropTime
public double dropTime
-
-
Constructor Details
-
IsoWorldInventoryObject
public IsoWorldInventoryObject(InventoryItem item, IsoGridSquare sq, float xoff, float yoff, float zoff) -
IsoWorldInventoryObject
-
-
Method Details
-
update
public void update() -
updateSprite
public void updateSprite() -
finishupdate
public boolean finishupdate() -
load
public void load(java.nio.ByteBuffer input, int WorldVersion) throws java.io.IOException -
Serialize
public boolean Serialize() -
save
public void save(java.nio.ByteBuffer output) throws java.io.IOException -
getObjectName
public java.lang.String getObjectName()- Overrides:
getObjectName
in classIsoObject
-
DoTooltip
-
HasTooltip
public boolean HasTooltip()- Overrides:
HasTooltip
in classIsoObject
-
onMouseLeftClick
public boolean onMouseLeftClick(int x, int y)- Overrides:
onMouseLeftClick
in classIsoObject
-
render
-
renderObjectPicker
- Overrides:
renderObjectPicker
in classIsoObject
-
getItem
-
addToWorld
public void addToWorld()- Overrides:
addToWorld
in classIsoObject
-
removeFromWorld
public void removeFromWorld()- Overrides:
removeFromWorld
in classIsoObject
-
removeFromSquare
public void removeFromSquare()- Overrides:
removeFromSquare
in classIsoObject
-