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.IsoObjectFactory, IsoObject.OutlineShader, 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
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, table, tintb, tintg, tintr, usesExternalWaterSource, wallBloodSplats, windRenderEffects
-
Constructor Summary
-
Method Summary
Methods inherited from class zombie.iso.IsoObject
addChild, addItemsFromProperties, addSecondaryContainer, AttachAnim, AttachExistingAnim, AttachExistingAnim, checkHaveElectricity, checkMoveWithWind, checkMoveWithWind, cleanWallBlood, clearAttachedAnimSprite, Collision, createContainersFromSpriteProperties, customHashCode, debugPrintout, destroyFence, DirtySlice, doFindExternalWaterSource, DoSpecialTooltip, DoTooltip, factoryClassFromFileInput, factoryFromFileInput, factoryFromFileInput, factoryFromFileInput_OLD, factoryGetClassID, FindExternalWaterSource, FindExternalWaterSource, FindWaterSourceOnSquare, getAlpha, getAlpha, getAlphaUpdateRateDiv, getAlphaUpdateRateMul, getAttachedAnimSprite, getCell, getChildSprites, getContainer, getContainerByEitherType, getContainerByIndex, getContainerByType, getContainerCount, getContainerIndex, getCustomColor, getDamage, getDir, getFacingPositionAlt, getFactoryVehicle, getHighlightColor, getIsSurfaceNormalOffset, getItemContainer, getKeyId, getLastRendered, getLastRenderedRendered, getMaskClickedY, getModData, getMovingObjectIndex, getName, getNew, getNew, getObjectIndex, getObjectRenderEffects, getObjectRenderEffectsToApply, getOffsetX, getOffsetY, getOutlineHighlightCol, getOutlineHighlightCol, getOutlineThickness, getOverlaySprite, getOverlaySpriteColor, getPipedFuelAmount, getProperties, getRenderEffectMaster, 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, HasTooltip, hasWater, haveSpecialTooltip, Hit, HitByVehicle, isAlphaAndTargetZero, isAlphaAndTargetZero, isAlphaZero, isAlphaZero, isBlink, isCharacter, isExistInTheWorld, isHighlighted, isHoppable, 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, loadChange, loadFromRemoteBuffer, loadFromRemoteBuffer, onMouseRightClick, onMouseRightReleased, removeAllContainers, RemoveAttachedAnim, RemoveAttachedAnims, removeFromSquare, removeRenderEffect, render, renderAttachedAndOverlaySprites, renderFloorTile, renderFxMask, renderlast, renderObjectPicker, renderWallTile, renderWallTileOnly, replaceItem, reset, reuseGridSquare, save, saveChange, sendObjectChange, sendObjectChange, sendObjectChange, Serialize, setAlpha, setAlpha, setAlphaAndTarget, setAlphaAndTarget, setAlphaToTarget, setAttachedAnimSprite, setBlink, setChildSprites, setContainer, setCustomColor, setCustomColor, setDamage, setDefaultCondition, setDir, setDir, setHighlightColor, setHighlightColor, setHighlighted, setHighlighted, setKeyId, 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, TestPathfindCollide, 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 -
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 boolean1, boolean boolean2) -
smashWindow
public void smashWindow(boolean boolean1) -
smashWindow
public void smashWindow() -
addBrokenGlass
-
addBrokenGlass
public void addBrokenGlass(boolean boolean1) -
isDestroyed
public boolean isDestroyed()- Specified by:
isDestroyed
in interfaceThumpable
- Overrides:
isDestroyed
in classIsoObject
-
IsOpen
public boolean IsOpen() -
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
-
getThumpableFor
- Specified by:
getThumpableFor
in interfaceThumpable
- Overrides:
getThumpableFor
in classIsoObject
-
getThumpCondition
public float getThumpCondition()- Specified by:
getThumpCondition
in interfaceThumpable
- Overrides:
getThumpCondition
in classIsoObject
-
load
public void load(java.nio.ByteBuffer byteBuffer, int int1, boolean boolean1) throws java.io.IOException -
addToWorld
public void addToWorld()- Overrides:
addToWorld
in classIsoObject
-
removeFromWorld
public void removeFromWorld()- Overrides:
removeFromWorld
in classIsoObject
-
save
public void save(java.nio.ByteBuffer byteBuffer, boolean boolean1) throws java.io.IOException -
saveState
public void saveState(java.nio.ByteBuffer byteBuffer) throws java.io.IOException -
loadState
public void loadState(java.nio.ByteBuffer byteBuffer) throws java.io.IOException -
openCloseCurtain
-
removeSheet
-
addSheet
-
ToggleWindow
-
syncIsoObjectSend
- Overrides:
syncIsoObjectSend
in classIsoObject
-
syncIsoObject
public void syncIsoObject(boolean boolean1, byte byte1, UdpConnection udpConnection, java.nio.ByteBuffer byteBuffer)- Overrides:
syncIsoObject
in classIsoObject
-
isTopOfSheetRopeHere
-
isTopOfSheetRopeHere
-
haveSheetRope
public boolean haveSheetRope()- Overrides:
haveSheetRope
in classIsoObject
-
isSheetRopeHere
-
canClimbHere
-
countAddSheetRope
-
countAddSheetRope
public int countAddSheetRope()- Overrides:
countAddSheetRope
in classIsoObject
-
canAddSheetRope
-
canAddSheetRope
public boolean canAddSheetRope()- Overrides:
canAddSheetRope
in classIsoObject
-
addSheetRope
- Overrides:
addSheetRope
in classIsoObject
-
addSheetRope
public static boolean addSheetRope(IsoPlayer player, IsoGridSquare square, boolean boolean1, java.lang.String string) -
removeSheetRope
- Overrides:
removeSheetRope
in classIsoObject
-
removeSheetRope
-
Damage
public void Damage(float float1) -
Damage
public void Damage(float float1, boolean boolean1) -
Damage
-
isLocked
public boolean isLocked() -
isSmashed
public boolean isSmashed() -
isInvincible
public boolean isInvincible() -
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
-
getNorth
public boolean getNorth()- Specified by:
getNorth
in interfaceBarricadeAble
-
getFacingPosition
- Overrides:
getFacingPosition
in classIsoObject
-
setIsLocked
public void setIsLocked(boolean boolean1) -
getOpenSprite
-
setOpenSprite
-
setSmashed
public void setSmashed(boolean boolean1) -
getSmashedSprite
-
setSmashedSprite
-
setPermaLocked
public void setPermaLocked(java.lang.Boolean Boolean1) -
isPermaLocked
public boolean isPermaLocked() -
canClimbThroughHelper
public static boolean canClimbThroughHelper(IsoGameCharacter gameCharacter, IsoGridSquare square, IsoGridSquare square2, boolean boolean1) -
canClimbThrough
-
getFirstCharacterClimbingThrough
-
getFirstCharacterClimbingThrough
-
getFirstCharacterClosing
-
getFirstCharacterClosing
-
isGlassRemoved
public boolean isGlassRemoved() -
setGlassRemoved
public void setGlassRemoved(boolean boolean1) -
removeBrokenGlass
public void removeBrokenGlass() -
addBarricadesDebug
-
addRandomBarricades
public void addRandomBarricades()
-