Package zombie.iso.objects
Class IsoBarricade
java.lang.Object
zombie.iso.IsoObject
zombie.iso.objects.IsoBarricade
- All Implemented Interfaces:
java.io.Serializable
,Thumpable
public class IsoBarricade extends IsoObject implements Thumpable
- 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 static int
MAX_PLANKS
static int
METAL_BAR_HEALTH
static int
METAL_HEALTH
static int
METAL_HEALTH_DAMAGED
static int
PLANK_HEALTH
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 IsoBarricade(IsoCell cell)
IsoBarricade(IsoCell cell, IsoGridSquare gridSquare, IsoDirections dir)
-
Method Summary
Methods inherited from class zombie.iso.IsoObject
addChild, addSecondaryContainer, addToWorld, AttachAnim, AttachExistingAnim, AttachExistingAnim, AttackObject, checkHaveElectricity, createChecksum, createContainersFromSpriteProperties, debugPrintout, DirtySlice, DoChecksumCheck, DoChecksumCheck, doFindExternalWaterSource, DoSpecialTooltip, DoTooltip, factoryClassFromFileInput, factoryFromFileInput, factoryFromFileInput, FindExternalWaterSource, getAlpha, getAlphaStep, getAttachedAnimSprite, getCell, getChildSprites, getContainer, getContainerByEitherType, getContainerByIndex, getContainerByType, getContainerCount, getContainerIndex, getCustomColor, getDamage, getDir, 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, HasTooltip, hasWater, haveSpecialTooltip, isBlink, isCharacter, isMaskClicked, isMaskClicked, isNoPicking, isOutlineOnMouseover, isTableSurface, isTableTopObject, isZombie, loadFromRemoteBuffer, loadFromRemoteBuffer, onMouseLeftClick, onMouseRightClick, onMouseRightReleased, removeAllContainers, RemoveAttachedAnim, RemoveAttachedAnims, removeFromSquare, removeFromWorld, render, renderlast, renderObjectPicker, replaceItem, reset, reuseGridSquare, 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
-
MAX_PLANKS
public static final int MAX_PLANKS- See Also:
- Constant Field Values
-
PLANK_HEALTH
public static final int PLANK_HEALTH- See Also:
- Constant Field Values
-
METAL_HEALTH
public static final int METAL_HEALTH- See Also:
- Constant Field Values
-
METAL_HEALTH_DAMAGED
public static final int METAL_HEALTH_DAMAGED- See Also:
- Constant Field Values
-
METAL_BAR_HEALTH
public static final int METAL_BAR_HEALTH- See Also:
- Constant Field Values
-
-
Constructor Details
-
IsoBarricade
-
IsoBarricade
-
-
Method Details
-
getObjectName
public java.lang.String getObjectName()- Overrides:
getObjectName
in classIsoObject
-
addPlank
-
removePlank
-
getNumPlanks
public int getNumPlanks() -
canAddPlank
public boolean canAddPlank() -
addMetalBar
-
removeMetalBar
-
addMetal
-
isMetalBar
public boolean isMetalBar() -
removeMetal
-
isMetal
public boolean isMetal() -
isBlockVision
public boolean isBlockVision() -
isDestroyed
public boolean isDestroyed()- Specified by:
isDestroyed
in interfaceThumpable
-
TestCollide
- Overrides:
TestCollide
in classIsoObject
-
TestVision
- Overrides:
TestVision
in classIsoObject
-
Thump
-
getFacingPosition
- Overrides:
getFacingPosition
in classIsoObject
-
WeaponHit
-
Damage
public void Damage(int amount) -
load
public void load(java.nio.ByteBuffer input, int WorldVersion) throws java.io.IOException -
save
public void save(java.nio.ByteBuffer output) throws java.io.IOException -
saveChange
- Overrides:
saveChange
in classIsoObject
-
loadChange
public void loadChange(java.lang.String change, java.nio.ByteBuffer bb)- Overrides:
loadChange
in classIsoObject
-
getBarricadedObject
-
render
-
GetBarricadeOnSquare
-
GetBarricadeForCharacter
-
GetBarricadeOppositeCharacter
-
AddBarricadeToObject
-
AddBarricadeToObject
-