Package zombie.iso.objects
Class IsoDoor
java.lang.Object
zombie.iso.IsoObject
zombie.iso.objects.IsoDoor
- All Implemented Interfaces:
Serializable
,BarricadeAble
,Thumpable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class zombie.iso.IsoObject
IsoObject.IsoObjectFactory, IsoObject.OutlineShader, IsoObject.VisionResult
-
Field Summary
Modifier and TypeFieldDescriptionint
boolean
boolean
int
boolean
boolean
int
int
static final Vector2
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, tintb, tintg, tintr, usesExternalWaterSource, wallBloodSplats, windRenderEffects
-
Constructor Summary
ConstructorDescriptionIsoDoor
(IsoCell cell, IsoGridSquare square, String string, boolean boolean1) IsoDoor
(IsoCell cell, IsoGridSquare square, String string, boolean boolean1, KahluaTable kahluaTable) IsoDoor
(IsoCell cell, IsoGridSquare square, IsoSprite sprite, boolean boolean1) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addSheet
(boolean boolean1, IsoGameCharacter gameCharacter) void
addSheet
(IsoGameCharacter gameCharacter) boolean
canClimbOver
(IsoGameCharacter gameCharacter) int
void
destroy()
static boolean
destroyDoubleDoor
(IsoObject object) static boolean
destroyGarageDoor
(IsoObject object) getAddSheetSquare
(IsoGameCharacter gameCharacter) getBarricadeForCharacter
(IsoGameCharacter gameCharacter) getBarricadeOppositeCharacter
(IsoGameCharacter gameCharacter) static int
getDoubleDoorIndex
(IsoObject object) static IsoObject
getDoubleDoorObject
(IsoObject object, int int1) getFacingPosition
(Vector2 vector2) getFacingPositionAlt
(Vector2 vector2) static IsoObject
getGarageDoorFirst
(IsoObject object) static int
getGarageDoorIndex
(IsoObject object) static IsoObject
getGarageDoorNext
(IsoObject object) static IsoObject
getGarageDoorPrev
(IsoObject object) int
int
getKeyId()
int
boolean
getNorth()
getOtherSideOfDoor
(IsoGameCharacter gameCharacter) getSpriteEdge
(boolean boolean1) getThumpableFor
(IsoGameCharacter gameCharacter) float
boolean
haveKey()
boolean
isAdjacentToSquare
(IsoGridSquare square) boolean
boolean
boolean
boolean
static boolean
isDoorObstructed
(IsoObject object) static boolean
isDoubleDoorObstructed
(IsoObject object) boolean
boolean
isExteriorDoor
(IsoGameCharacter gameCharacter) Deprecated.boolean
isFacingSheet
(IsoGameCharacter gameCharacter) boolean
boolean
isLocked()
boolean
boolean
boolean
IsOpen()
boolean
void
load
(ByteBuffer byteBuffer, int int1, boolean boolean1) void
loadChange
(String string, ByteBuffer byteBuffer) void
loadState
(ByteBuffer byteBuffer) boolean
onMouseLeftClick
(int int1, int int2) void
removeSheet
(IsoGameCharacter gameCharacter) void
render
(float float1, float float2, float float3, ColorInfo colorInfo, boolean boolean1, boolean boolean2, Shader shader) void
renderWallTile
(float float1, float float2, float float3, ColorInfo colorInfo, boolean boolean1, boolean boolean2, Shader shader, Consumer consumer) void
save
(ByteBuffer byteBuffer, boolean boolean1) void
saveChange
(String string, KahluaTable kahluaTable, ByteBuffer byteBuffer) void
saveState
(ByteBuffer byteBuffer) void
setCurtainOpen
(boolean boolean1) void
setHaveKey
(boolean boolean1) void
setHealth
(int int1) void
setIsLocked
(boolean boolean1) void
setKeyId
(int int1) void
setLocked
(boolean boolean1) void
setLockedByKey
(boolean boolean1) void
setOpenSprite
(IsoSprite sprite) void
void
syncIsoObject
(boolean boolean1, byte byte1, UdpConnection udpConnection, ByteBuffer byteBuffer) void
syncIsoObjectSend
(ByteBufferWriter byteBufferWriter) boolean
TestCollide
(IsoMovingObject movingObject, IsoGridSquare square, IsoGridSquare square2) boolean
TestPathfindCollide
(IsoMovingObject movingObject, IsoGridSquare square, IsoGridSquare square2) TestVision
(IsoGridSquare square, IsoGridSquare square2) void
Thump
(IsoMovingObject movingObject) void
void
ToggleDoor
(IsoGameCharacter gameCharacter) void
ToggleDoorActual
(IsoGameCharacter gameCharacter) void
static void
toggleDoubleDoor
(IsoObject object, boolean boolean1) static void
toggleGarageDoor
(IsoObject object, boolean boolean1) void
transmitSetCurtainOpen
(boolean boolean1) void
WeaponHit
(IsoGameCharacter gameCharacter, HandWeapon handWeapon) Methods inherited from class zombie.iso.IsoObject
addChild, addItemsFromProperties, addObjectAmbientEmitter, addSecondaryContainer, addSheetRope, addToWorld, AttachAnim, AttachExistingAnim, AttachExistingAnim, AttackObject, canAddSheetRope, checkAmbientSound, 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, getChunk, getContainer, getContainerByEitherType, getContainerByIndex, getContainerByType, getContainerCount, getContainerIndex, getCustomColor, getDamage, getDir, getFactoryVehicle, getHighlightColor, getIsSurfaceNormalOffset, getItemContainer, getLastRendered, getLastRenderedRendered, getMaskClickedY, getModData, getMovingObjectIndex, getName, getNew, getNew, getObjectIndex, getObjectRenderEffects, getObjectRenderEffectsToApply, getOffsetX, getOffsetY, getOutlineHighlightCol, getOutlineHighlightCol, getOutlineThickness, getOverlaySprite, getOverlaySpriteColor, getPipedFuelAmount, getProperties, getRenderYOffset, getRerouteCollide, getRerouteMask, getRerouteMaskObject, getScriptName, getSpecialObjectIndex, getSprite, getSpriteGridObjects, getSpriteName, getSquare, getStaticMovingObjectIndex, getSurfaceNormalOffset, getSurfaceOffset, getSurfaceOffsetNoTable, getTable, getTargetAlpha, getTargetAlpha, getTextureName, getTile, getType, getUsesExternalWaterSource, GetVehicleSlowFactor, getWaterAmount, getWaterMax, getWindRenderEffects, getWorldObjectIndex, getX, getY, getZ, hasExternalWaterSource, hasModData, hasObjectAmbientEmitter, HasTooltip, hasWater, haveSheetRope, haveSpecialTooltip, Hit, HitByVehicle, isAlphaAndTargetZero, isAlphaAndTargetZero, isAlphaZero, isAlphaZero, isBlink, isCharacter, isExistInTheWorld, isFloor, isHighlighted, isItemAllowedInContainer, isMaskClicked, isMaskClicked, isMovedThumpable, isNoPicking, isNorthHoppable, isOutlineHighlight, isOutlineHighlight, isOutlineHlAttached, isOutlineHlAttached, isOutlineHlBlink, isOutlineHlBlink, isOutlineOnMouseover, isRemoveItemAllowedFromContainer, isSpriteInvisible, isStairsNorth, isStairsObject, isStairsWest, isTableSurface, isTableTopObject, isTaintedWater, isTargetAlphaZero, isUpdateAlphaDuringRender, isUpdateAlphaEnabled, isZombie, load, loadFromRemoteBuffer, loadFromRemoteBuffer, onMouseRightClick, onMouseRightReleased, removeAllContainers, RemoveAttachedAnim, RemoveAttachedAnims, removeFromSquare, removeFromWorld, removeRenderEffect, removeSheetRope, renderAttachedAndOverlaySprites, renderFloorTile, renderFxMask, renderlast, renderObjectPicker, 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, 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, transmitCompleteItemToClients, transmitCompleteItemToServer, transmitCustomColor, transmitModData, transmitUpdatedSprite, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToServer, UnCollision, unsetOutlineHighlight, update, updateAlpha, updateAlpha, updateAlpha, useItemOn, useWater, writeToRemoteBuffer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface zombie.iso.objects.interfaces.BarricadeAble
getSquare
-
Field Details
-
Health
public int Health -
lockedByKey
public boolean lockedByKey -
Locked
public boolean Locked -
MaxHealth
public int MaxHealth -
PushedMaxStrength
public int PushedMaxStrength -
PushedStrength
public int PushedStrength -
type
-
north
public boolean north -
open
public boolean open -
tempo
-
-
Constructor Details
-
IsoDoor
-
IsoDoor
-
IsoDoor
-
IsoDoor
public IsoDoor(IsoCell cell, IsoGridSquare square, String string, boolean boolean1, KahluaTable kahluaTable)
-
-
Method Details
-
getObjectName
- Overrides:
getObjectName
in classIsoObject
-
render
-
renderWallTile
public void renderWallTile(float float1, float float2, float float3, ColorInfo colorInfo, boolean boolean1, boolean boolean2, Shader shader, Consumer consumer) - Overrides:
renderWallTile
in classIsoObject
-
getSpriteEdge
-
load
- Overrides:
load
in classIsoObject
- Throws:
IOException
-
save
- Overrides:
save
in classIsoObject
- Throws:
IOException
-
saveState
- Overrides:
saveState
in classIsoObject
- Throws:
IOException
-
loadState
- Overrides:
loadState
in classIsoObject
- Throws:
IOException
-
isDestroyed
public boolean isDestroyed()- Specified by:
isDestroyed
in interfaceThumpable
- Overrides:
isDestroyed
in classIsoObject
-
IsOpen
public boolean IsOpen() -
IsStrengthenedByPushedItems
public boolean IsStrengthenedByPushedItems() -
onMouseLeftClick
public boolean onMouseLeftClick(int int1, int int2) - Overrides:
onMouseLeftClick
in classIsoObject
-
TestPathfindCollide
public boolean TestPathfindCollide(IsoMovingObject movingObject, IsoGridSquare square, IsoGridSquare square2) - Overrides:
TestPathfindCollide
in classIsoObject
-
TestCollide
public boolean TestCollide(IsoMovingObject movingObject, IsoGridSquare square, IsoGridSquare square2) - Overrides:
TestCollide
in classIsoObject
-
TestVision
- Overrides:
TestVision
in classIsoObject
-
Thump
-
getThumpableFor
- Specified by:
getThumpableFor
in interfaceThumpable
- Overrides:
getThumpableFor
in classIsoObject
-
getThumpCondition
public float getThumpCondition()- Specified by:
getThumpCondition
in interfaceThumpable
- Overrides:
getThumpCondition
in classIsoObject
-
WeaponHit
-
destroy
public void destroy() -
getOtherSideOfDoor
-
isExteriorDoor
Deprecated. -
isExterior
public boolean isExterior() -
isHoppable
public boolean isHoppable()- Overrides:
isHoppable
in classIsoObject
-
canClimbOver
-
ToggleDoorActual
-
syncIsoObjectSend
- Overrides:
syncIsoObjectSend
in classIsoObject
-
syncIsoObject
public void syncIsoObject(boolean boolean1, byte byte1, UdpConnection udpConnection, ByteBuffer byteBuffer) - Overrides:
syncIsoObject
in classIsoObject
-
ToggleDoor
-
ToggleDoorSilent
public void ToggleDoorSilent() -
getBarricadeOnSameSquare
- Specified by:
getBarricadeOnSameSquare
in interfaceBarricadeAble
-
getBarricadeOnOppositeSquare
- Specified by:
getBarricadeOnOppositeSquare
in interfaceBarricadeAble
-
isBarricaded
public boolean isBarricaded()- Specified by:
isBarricaded
in interfaceBarricadeAble
-
isBarricadeAllowed
public boolean isBarricadeAllowed()- Specified by:
isBarricadeAllowed
in interfaceBarricadeAble
-
getBarricadeForCharacter
- Specified by:
getBarricadeForCharacter
in interfaceBarricadeAble
-
getBarricadeOppositeCharacter
- Specified by:
getBarricadeOppositeCharacter
in interfaceBarricadeAble
-
isLocked
public boolean isLocked() -
setLocked
public void setLocked(boolean boolean1) -
getNorth
public boolean getNorth()- Specified by:
getNorth
in interfaceBarricadeAble
-
getFacingPosition
- Overrides:
getFacingPosition
in classIsoObject
-
getFacingPositionAlt
- Overrides:
getFacingPositionAlt
in classIsoObject
-
setIsLocked
public void setIsLocked(boolean boolean1) -
getOpenSprite
-
setOpenSprite
-
getKeyId
public int getKeyId() -
syncDoorKey
public void syncDoorKey() -
setKeyId
public void setKeyId(int int1) -
isLockedByKey
public boolean isLockedByKey() -
setLockedByKey
public void setLockedByKey(boolean boolean1) -
haveKey
public boolean haveKey() -
setHaveKey
public void setHaveKey(boolean boolean1) -
getOppositeSquare
- Specified by:
getOppositeSquare
in interfaceBarricadeAble
-
isAdjacentToSquare
-
checkKeyId
public int checkKeyId() -
setHealth
public void setHealth(int int1) -
HasCurtains
-
isCurtainOpen
public boolean isCurtainOpen() -
setCurtainOpen
public void setCurtainOpen(boolean boolean1) -
transmitSetCurtainOpen
public void transmitSetCurtainOpen(boolean boolean1) -
toggleCurtain
public void toggleCurtain() -
addSheet
-
addSheet
-
removeSheet
-
getAddSheetSquare
-
getSheetSquare
-
getHealth
public int getHealth() -
getMaxHealth
public int getMaxHealth() -
isFacingSheet
-
saveChange
- Overrides:
saveChange
in classIsoObject
-
loadChange
- Overrides:
loadChange
in classIsoObject
-
addRandomBarricades
public void addRandomBarricades() -
isObstructed
public boolean isObstructed() -
isDoorObstructed
-
toggleDoubleDoor
-
getDoubleDoorIndex
-
getDoubleDoorObject
-
isDoubleDoorObstructed
-
destroyDoubleDoor
-
getGarageDoorIndex
-
getGarageDoorPrev
-
getGarageDoorNext
-
getGarageDoorFirst
-
toggleGarageDoor
-
destroyGarageDoor
-
getRenderEffectMaster
- Overrides:
getRenderEffectMaster
in classIsoObject
-
getThumpSound
-