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, 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
-
Method Summary
Modifier and Type Method Description void
addRandomBarricades()
void
addSheet(IsoGameCharacter gameCharacter)
boolean
addSheetRope(IsoPlayer player, java.lang.String string)
static boolean
addSheetRope(IsoPlayer player, IsoGridSquare square, boolean boolean1, java.lang.String string)
void
AttackObject(IsoGameCharacter gameCharacter)
boolean
canAddSheetRope()
static boolean
canAddSheetRope(IsoGridSquare square, boolean boolean1)
static boolean
canClimbHere(IsoGridSquare square)
boolean
canClimbThrough(IsoGameCharacter gameCharacter)
int
countAddSheetRope()
static int
countAddSheetRope(IsoGridSquare square, boolean boolean1)
void
Damage(float float1)
void
Damage(float float1, boolean boolean1)
IsoGridSquare
getAddSheetSquare(IsoGameCharacter gameCharacter)
IsoBarricade
getBarricadeForCharacter(IsoGameCharacter gameCharacter)
IsoBarricade
getBarricadeOnOppositeSquare()
IsoBarricade
getBarricadeOnSameSquare()
IsoBarricade
getBarricadeOppositeCharacter(IsoGameCharacter gameCharacter)
Vector2
getFacingPosition(Vector2 vector2)
IsoGridSquare
getIndoorSquare()
IsoGridSquare
getInsideSquare()
boolean
getNorth()
java.lang.String
getObjectName()
IsoSprite
getOpenSprite()
IsoGridSquare
getOppositeSquare()
IsoSprite
getSmashedSprite()
IsoCurtain
HasCurtains()
boolean
haveSheetRope()
boolean
isBarricaded()
boolean
isDestroyed()
boolean
isGlassRemoved()
boolean
isLocked()
boolean
IsOpen()
boolean
isPermaLocked()
static boolean
isSheetRopeHere(IsoGridSquare square)
boolean
isSmashed()
static boolean
isTopOfSheetRopeHere(IsoGridSquare square)
static boolean
isTopOfSheetRopeHere(IsoGridSquare square, boolean boolean1)
void
load(java.nio.ByteBuffer byteBuffer, int int1)
void
loadState(java.nio.ByteBuffer byteBuffer)
boolean
onMouseLeftClick(int int1, int int2)
void
openCloseCurtain(IsoGameCharacter gameCharacter)
void
removeBrokenGlass()
void
removeSheet(IsoGameCharacter gameCharacter)
boolean
removeSheetRope(IsoPlayer player)
static boolean
removeSheetRope(IsoPlayer player, IsoGridSquare square, boolean boolean1)
void
save(java.nio.ByteBuffer byteBuffer)
void
saveState(java.nio.ByteBuffer byteBuffer)
void
setGlassRemoved(boolean boolean1)
void
setIsLocked(boolean boolean1)
void
setOpenSprite(IsoSprite sprite)
void
setPermaLocked(java.lang.Boolean Boolean1)
void
setSmashed(boolean boolean1)
void
setSmashedSprite(IsoSprite sprite)
void
smashWindow()
void
smashWindow(boolean boolean1)
void
smashWindow(boolean boolean1, boolean boolean2)
void
syncIsoObject(boolean boolean1, byte byte1, UdpConnection udpConnection, java.nio.ByteBuffer byteBuffer)
void
syncIsoObjectSend(ByteBufferWriter byteBufferWriter)
boolean
TestCollide(IsoMovingObject movingObject, IsoGridSquare square, IsoGridSquare square2)
IsoObject.VisionResult
TestVision(IsoGridSquare square, IsoGridSquare square2)
void
Thump(IsoMovingObject movingObject)
void
ToggleWindow(IsoGameCharacter gameCharacter)
void
WeaponHit(IsoGameCharacter gameCharacter, HandWeapon handWeapon)
Methods inherited from class zombie.iso.IsoObject
addChild, addSecondaryContainer, addToWorld, AttachAnim, AttachExistingAnim, AttachExistingAnim, checkHaveElectricity, checkMoveWithWind, checkMoveWithWind, cleanWallBlood, Collision, createChecksum, createContainersFromSpriteProperties, customHashCode, 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, 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, HasTooltip, hasWater, haveSpecialTooltip, Hit, isBlink, isCharacter, isHighlighted, isMaskClicked, isMaskClicked, isNoPicking, isOutlineOnMouseover, isStairsNorth, isStairsObject, isStairsWest, isTableSurface, isTableTopObject, isTaintedWater, isZombie, loadChange, loadFromRemoteBuffer, loadFromRemoteBuffer, onMouseRightClick, onMouseRightReleased, removeAllContainers, RemoveAttachedAnim, RemoveAttachedAnims, removeFromSquare, removeFromWorld, removeRenderEffect, render, render, renderFxMask, renderlast, renderObjectPicker, replaceItem, reset, reuseGridSquare, revisionUp, saveChange, 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, 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
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() -
isDestroyed
public boolean isDestroyed()- Specified by:
isDestroyed
in interfaceThumpable
-
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
-
load
public void load(java.nio.ByteBuffer byteBuffer, int int1) throws java.io.IOException -
save
public void save(java.nio.ByteBuffer byteBuffer) throws java.io.IOException -
saveState
public void saveState(java.nio.ByteBuffer byteBuffer) -
loadState
public void loadState(java.nio.ByteBuffer byteBuffer) -
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() -
isSheetRopeHere
-
canClimbHere
-
countAddSheetRope
-
countAddSheetRope
public int countAddSheetRope() -
canAddSheetRope
-
canAddSheetRope
public boolean canAddSheetRope() -
addSheetRope
-
addSheetRope
public static boolean addSheetRope(IsoPlayer player, IsoGridSquare square, boolean boolean1, java.lang.String string) -
removeSheetRope
-
removeSheetRope
-
Damage
public void Damage(float float1) -
Damage
public void Damage(float float1, boolean boolean1) -
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 boolean1) -
getOpenSprite
-
setOpenSprite
-
setSmashed
public void setSmashed(boolean boolean1) -
getSmashedSprite
-
setSmashedSprite
-
setPermaLocked
public void setPermaLocked(java.lang.Boolean Boolean1) -
isPermaLocked
public boolean isPermaLocked() -
canClimbThrough
-
isGlassRemoved
public boolean isGlassRemoved() -
setGlassRemoved
public void setGlassRemoved(boolean boolean1) -
removeBrokenGlass
public void removeBrokenGlass() -
addRandomBarricades
public void addRandomBarricades()
-