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, doNotSync, emitter, externalWaterSource, gmod, highlightFlags, keyId, lastRendered, lastRenderedRendered, LowLightingQualityHack, MAX_WALL_SPLATS, name, NoPicking, OBF_Blink, OBF_Highlighted, OBF_HighlightRenderOnce, objectRenderEffects, offsetX, offsetY, OutlineOnMouseover, overlaySprite, overlaySpriteColor, rerouteCollide, rerouteMask, rmod, sheetRope, sheetRopeHealth, sprite, spriteName, square, stCol, sx, sy, table, targetAlpha, tintb, tintg, tintr, usesExternalWaterSource, wallBloodSplats, windRenderEffects
-
Constructor Summary
Constructors Constructor Description IsoCrate(IsoCell cell)
IsoCrate(IsoCell cell, IsoGridSquare square, int int1)
-
Method Summary
Modifier and Type Method Description void
Barricade(IsoGameCharacter gameCharacter)
void
DoTooltip(ObjectTooltip objectTooltip)
java.lang.String
getObjectName()
boolean
HasTooltip()
boolean
isDestroyed()
boolean
IsOpen()
boolean
IsStrengthenedByPushedItems()
void
load(java.nio.ByteBuffer byteBuffer, int int1)
boolean
onMouseLeftClick(int int1, int int2)
void
save(java.nio.ByteBuffer byteBuffer)
boolean
TestCollide(IsoMovingObject movingObject, IsoGridSquare square, IsoGridSquare square2)
IsoObject.VisionResult
TestVision(IsoGridSquare square, IsoGridSquare square2)
void
Thump(IsoMovingObject movingObject)
void
ToggleDoor(IsoGameCharacter gameCharacter)
void
ToggleDoorSilent()
void
Unbarricade()
void
WeaponHit(IsoGameCharacter gameCharacter, HandWeapon handWeapon)
Methods inherited from class zombie.iso.IsoObject
addChild, addSecondaryContainer, addToWorld, AttachAnim, AttachExistingAnim, AttachExistingAnim, AttackObject, checkHaveElectricity, checkMoveWithWind, checkMoveWithWind, cleanWallBlood, Collision, createChecksum, createContainersFromSpriteProperties, customHashCode, Damage, 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, getMovingObjectIndex, getName, getNew, getNew, getObjectIndex, getObjectRenderEffects, getObjectRenderEffectsToApply, getOffsetX, getOffsetY, getOverlaySprite, getOverlaySpriteColor, getProperties, getRenderYOffset, getRerouteCollide, getRerouteMask, getRerouteMaskObject, getScriptName, getSpecialObjectIndex, getSprite, getSpriteName, getSquare, getStaticMovingObjectIndex, getSurfaceNormalOffset, getSurfaceOffset, getTable, getTargetAlpha, getTextureName, getTile, getType, getUsesExternalWaterSource, GetVehicleSlowFactor, getWaterAmount, getWindRenderEffects, getWorldObjectIndex, getX, getY, getZ, hasExternalWaterSource, hasModData, hasWater, haveSpecialTooltip, Hit, isBlink, isCharacter, isHighlighted, isMaskClicked, isMaskClicked, isNoPicking, isOutlineOnMouseover, isStairsNorth, isStairsObject, isStairsWest, isTableSurface, isTableTopObject, isTaintedWater, isZombie, loadChange, loadFromRemoteBuffer, loadFromRemoteBuffer, loadState, onMouseRightClick, onMouseRightReleased, removeAllContainers, RemoveAttachedAnim, RemoveAttachedAnims, removeFromSquare, removeFromWorld, removeRenderEffect, render, render, renderFxMask, renderlast, renderObjectPicker, replaceItem, reset, reuseGridSquare, revisionUp, saveChange, saveState, sendObjectChange, sendObjectChange, sendObjectChange, Serialize, setAlpha, setAlphaStep, setAttachedAnimSprite, setBlink, setChildSprites, setContainer, setCustomColor, setCustomColor, setDamage, setDefaultCondition, setDir, setDir, setHighlightColor, setHighlightColor, setHighlighted, setHighlighted, setKeyId, setLastRendered, setLastRenderedRendered, setName, SetName, setNoPicking, setOffsetX, setOffsetY, setOutlineOnMouseover, setOverlaySprite, setOverlaySprite, setOverlaySprite, setOverlaySpriteColor, setRenderEffect, setRenderEffect, setRenderYOffset, setRerouteCollide, setRerouteMask, setSpecialTooltip, setSprite, setSprite, setSpriteFromName, setSquare, setTable, setTaintedWater, setTargetAlpha, setType, setUsesExternalWaterSource, setWaterAmount, softReset, syncIsoObject, syncIsoObjectSend, TestPathfindCollide, transmitCompleteItemToClients, transmitCompleteItemToServer, transmitCustomColor, transmitModData, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToServer, UnCollision, 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 byteBuffer) throws java.io.IOException -
load
public void load(java.nio.ByteBuffer byteBuffer, int int1) 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 int1, int int2)- Overrides:
onMouseLeftClick
in classIsoObject
-
TestCollide
public boolean TestCollide(IsoMovingObject movingObject, IsoGridSquare square, IsoGridSquare square2)- Overrides:
TestCollide
in classIsoObject
-
TestVision
- Overrides:
TestVision
in classIsoObject
-
Thump
-
WeaponHit
-
ToggleDoor
-
ToggleDoorSilent
public void ToggleDoorSilent() -
Unbarricade
public void Unbarricade()
-