Package zombie.iso.objects
Class IsoCrate
java.lang.Object
zombie.iso.IsoObject
zombie.iso.objects.IsoCrate
- All Implemented Interfaces:
java.io.Serializable
,Thumpable
public class IsoCrate extends IsoObject implements Thumpable
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IsoCrate.DoorType
Nested classes/interfaces inherited from class zombie.iso.IsoObject
IsoObject.VisionResult
-
Field Summary
Fields Modifier and Type Field Description boolean
Barricaded
java.lang.Integer
BarricideMaxStrength
java.lang.Integer
BarricideStrength
java.lang.Integer
Health
boolean
Locked
java.lang.Integer
MaxHealth
java.lang.Integer
PushedMaxStrength
java.lang.Integer
PushedStrength
IsoCrate.DoorType
type
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 IsoCrate(IsoCell cell)
IsoCrate(IsoCell cell, IsoGridSquare gridSquare, int gid)
-
Method Summary
Modifier and Type Method Description void
Barricade(IsoGameCharacter chr)
void
DoTooltip(ObjectTooltip tooltipUI)
java.lang.String
getObjectName()
boolean
HasTooltip()
boolean
isDestroyed()
boolean
IsOpen()
boolean
IsStrengthenedByPushedItems()
void
load(java.nio.ByteBuffer b, int WorldVersion)
boolean
onMouseLeftClick(int x, int y)
void
save(java.nio.ByteBuffer b)
boolean
TestCollide(IsoMovingObject obj, IsoGridSquare from, IsoGridSquare to)
IsoObject.VisionResult
TestVision(IsoGridSquare from, IsoGridSquare to)
void
Thump(IsoMovingObject thumper)
void
ToggleDoor(IsoGameCharacter chr)
void
ToggleDoorSilent()
void
Unbarricade()
void
WeaponHit(IsoGameCharacter owner, HandWeapon weapon)
Methods inherited from class zombie.iso.IsoObject
addChild, addSecondaryContainer, addToWorld, 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, removeFromSquare, removeFromWorld, render, render, renderlast, renderObjectPicker, 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, TestPathfindCollide, transmitCompleteItemToClients, transmitCompleteItemToServer, transmitCustomColor, transmitModData, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToServer, update, useItemOn, useWater, writeToRemoteBuffer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
Barricaded
public boolean Barricaded -
BarricideMaxStrength
public java.lang.Integer BarricideMaxStrength -
BarricideStrength
public java.lang.Integer BarricideStrength -
Health
public java.lang.Integer Health -
Locked
public boolean Locked -
MaxHealth
public java.lang.Integer MaxHealth -
PushedMaxStrength
public java.lang.Integer PushedMaxStrength -
PushedStrength
public java.lang.Integer PushedStrength -
type
-
-
Constructor Details
-
IsoCrate
-
IsoCrate
-
-
Method Details
-
getObjectName
public java.lang.String getObjectName()- Overrides:
getObjectName
in classIsoObject
-
Barricade
-
save
public void save(java.nio.ByteBuffer b) throws java.io.IOException -
load
public void load(java.nio.ByteBuffer b, int WorldVersion) throws java.io.IOException -
DoTooltip
-
HasTooltip
public boolean HasTooltip()- Overrides:
HasTooltip
in classIsoObject
-
isDestroyed
public boolean isDestroyed()- Specified by:
isDestroyed
in interfaceThumpable
-
IsOpen
public boolean IsOpen() -
IsStrengthenedByPushedItems
public boolean IsStrengthenedByPushedItems() -
onMouseLeftClick
public boolean onMouseLeftClick(int x, int y)- Overrides:
onMouseLeftClick
in classIsoObject
-
TestCollide
- Overrides:
TestCollide
in classIsoObject
-
TestVision
- Overrides:
TestVision
in classIsoObject
-
Thump
-
WeaponHit
-
ToggleDoor
-
ToggleDoorSilent
public void ToggleDoorSilent() -
Unbarricade
public void Unbarricade()
-