Package zombie.iso.objects
Class IsoWindow
java.lang.Object
zombie.iso.IsoObject
zombie.iso.objects.IsoWindow
- All Implemented Interfaces:
java.io.Serializable
,BarricadeAble
,Thumpable
public class IsoWindow extends IsoObject implements BarricadeAble, Thumpable
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IsoWindow.WindowType
Nested classes/interfaces inherited from class zombie.iso.IsoObject
IsoObject.VisionResult
-
Field Summary
Fields Modifier and Type Field Description int
Health
boolean
Locked
int
MaxHealth
boolean
north
int
OldNumPlanks
boolean
open
boolean
PermaLocked
IsoWindow.WindowType
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
-
Method Summary
Methods inherited from class zombie.iso.IsoObject
addChild, addSecondaryContainer, addToWorld, AttachAnim, AttachExistingAnim, AttachExistingAnim, 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, 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, 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
Methods inherited from interface zombie.iso.objects.interfaces.BarricadeAble
getSquare
-
Field Details
-
Health
public int Health -
MaxHealth
public int MaxHealth -
type
-
north
public boolean north -
Locked
public boolean Locked -
PermaLocked
public boolean PermaLocked -
open
public boolean open -
OldNumPlanks
public int OldNumPlanks
-
-
Constructor Details
-
IsoWindow
-
IsoWindow
-
-
Method Details
-
HasCurtains
-
getIndoorSquare
-
getAddSheetSquare
-
AttackObject
- Overrides:
AttackObject
in classIsoObject
-
getInsideSquare
-
getOppositeSquare
- Specified by:
getOppositeSquare
in interfaceBarricadeAble
-
getObjectName
public java.lang.String getObjectName()- Overrides:
getObjectName
in classIsoObject
-
WeaponHit
-
smashWindow
public void smashWindow(boolean bRemote, boolean doAlarm) -
smashWindow
public void smashWindow(boolean bRemote) -
smashWindow
public void smashWindow() -
isDestroyed
public boolean isDestroyed()- Specified by:
isDestroyed
in interfaceThumpable
-
IsOpen
public boolean IsOpen() -
onMouseLeftClick
public boolean onMouseLeftClick(int x, int y)- Overrides:
onMouseLeftClick
in classIsoObject
-
TestCollide
- Overrides:
TestCollide
in classIsoObject
-
TestVision
- Overrides:
TestVision
in classIsoObject
-
Thump
-
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 -
openCloseCurtain
-
removeSheet
-
addSheet
-
ToggleWindow
-
syncIsoObjectSend
- Overrides:
syncIsoObjectSend
in classIsoObject
-
syncIsoObject
- Overrides:
syncIsoObject
in classIsoObject
-
isTopOfSheetRopeHere
-
isTopOfSheetRopeHere
-
haveSheetRope
public boolean haveSheetRope() -
isSheetRopeHere
-
canClimbHere
-
countAddSheetRope
-
countAddSheetRope
public int countAddSheetRope() -
canAddSheetRope
-
canAddSheetRope
public boolean canAddSheetRope() -
addSheetRope
-
addSheetRope
public static boolean addSheetRope(IsoPlayer player, IsoGridSquare sq, boolean north, java.lang.String itemType) -
removeSheetRope
-
removeSheetRope
-
Damage
public void Damage(int amount) -
isLocked
public boolean isLocked() -
isSmashed
public boolean isSmashed() -
getBarricadeOnSameSquare
- Specified by:
getBarricadeOnSameSquare
in interfaceBarricadeAble
-
getBarricadeOnOppositeSquare
- Specified by:
getBarricadeOnOppositeSquare
in interfaceBarricadeAble
-
isBarricaded
public boolean isBarricaded()- Specified by:
isBarricaded
in interfaceBarricadeAble
-
getBarricadeForCharacter
- Specified by:
getBarricadeForCharacter
in interfaceBarricadeAble
-
getBarricadeOppositeCharacter
- Specified by:
getBarricadeOppositeCharacter
in interfaceBarricadeAble
-
getNorth
public boolean getNorth()- Specified by:
getNorth
in interfaceBarricadeAble
-
getFacingPosition
- Overrides:
getFacingPosition
in classIsoObject
-
setIsLocked
public void setIsLocked(boolean lock) -
getOpenSprite
-
setOpenSprite
-
setSmashed
public void setSmashed(boolean destroyed) -
getSmashedSprite
-
setSmashedSprite
-
setPermaLocked
public void setPermaLocked(java.lang.Boolean permaLock) -
isPermaLocked
public boolean isPermaLocked() -
canClimbThrough
-
isGlassRemoved
public boolean isGlassRemoved() -
setGlassRemoved
public void setGlassRemoved(boolean removed) -
removeBrokenGlass
public void removeBrokenGlass() -
addRandomBarricades
public void addRandomBarricades()
-