zombie.iso.objects
Class IsoWindow
java.lang.Object
zombie.iso.IsoObject
zombie.iso.objects.IsoWindow
- All Implemented Interfaces:
- java.io.Serializable, Thumpable
public class IsoWindow
- extends IsoObject
- implements Thumpable
- Author:
- LEMMY
- See Also:
- Serialized Form
Fields inherited from class zombie.iso.IsoObject |
alpha, alphaStep, AttachedAnimSprite, AttachedAnimSpriteActual, container, Damage, dir, lastRendered, lastRenderedRendered, name, NoPicking, offsetX, offsetY, OutlineOnMouseover, rerouteCollide, rerouteMask, sprite, square, stCol, table, targetAlpha, tintb, tintg, tintr |
Methods inherited from class zombie.iso.IsoObject |
addChild, AttachAnim, AttachExistingAnim, AttachExistingAnim, createChecksum, DirtySlice, DoChecksumCheck, DoChecksumCheck, factoryClassFromFileInput, factoryFromFileInput, factoryFromFileInput, getAlpha, getAlphaStep, getAttachedAnimSprite, getCell, getChildSprites, getContainer, getDamage, getDir, getItemContainer, getLastRendered, getLastRenderedRendered, getMaskClickedY, getMD5Checksum, getModData, getName, getOffsetX, getOffsetY, getProperties, getRerouteCollide, getRerouteMask, getRerouteMaskObject, getScriptName, getSprite, getSquare, getTable, getTargetAlpha, getTextureName, getType, getX, getY, getZ, hasWater, isCharacter, isMaskClicked, isMaskClicked, isNoPicking, isOutlineOnMouseover, isZombie, onMouseRightClick, onMouseRightReleased, RemoveAttachedAnims, render, renderlast, renderObjectPicker, replaceItem, reset, Serialize, setAlpha, setAlphaStep, setAttachedAnimSprite, setChildSprites, setContainer, setDamage, setDefaultCondition, setDir, setDir, setLastRendered, setLastRenderedRendered, setName, SetName, setNoPicking, setOffsetX, setOffsetY, setOutlineOnMouseover, setRerouteCollide, setRerouteMask, setSprite, setSquare, setTable, setTargetAlpha, setType, TestPathfindCollide, update, useItemOn, useWater |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Barricaded
public int Barricaded
BarricideMaxStrength
public java.lang.Integer BarricideMaxStrength
BarricideStrength
public java.lang.Integer BarricideStrength
Health
public java.lang.Integer Health
MaxHealth
public java.lang.Integer MaxHealth
type
public IsoWindow.WindowType type
north
public boolean north
Locked
public boolean Locked
PermaLocked
public boolean PermaLocked
open
public boolean open
IsoWindow
public IsoWindow(IsoCell cell)
IsoWindow
public IsoWindow(IsoCell cell,
IsoGridSquare gridSquare,
IsoSprite gid,
boolean north)
HasCurtains
public IsoCurtain HasCurtains()
getIndoorSquare
public IsoGridSquare getIndoorSquare()
AttackObject
public void AttackObject(IsoGameCharacter owner)
- Overrides:
AttackObject
in class IsoObject
getInsideSquare
public IsoGridSquare getInsideSquare()
getObjectName
public java.lang.String getObjectName()
- Overrides:
getObjectName
in class IsoObject
WeaponHit
public void WeaponHit(IsoGameCharacter owner,
HandWeapon weapon)
Barricade
public void Barricade(InventoryItem plank)
DoTooltip
public void DoTooltip(ObjectTooltip tooltipUI)
- Overrides:
DoTooltip
in class IsoObject
HasTooltip
public boolean HasTooltip()
- Overrides:
HasTooltip
in class IsoObject
isDestroyed
public boolean isDestroyed()
- Specified by:
isDestroyed
in interface Thumpable
IsOpen
public boolean IsOpen()
onMouseLeftClick
public boolean onMouseLeftClick(int x,
int y)
- Overrides:
onMouseLeftClick
in class IsoObject
TestCollide
public boolean TestCollide(IsoMovingObject obj,
IsoGridSquare from,
IsoGridSquare to)
- Overrides:
TestCollide
in class IsoObject
TestVision
public IsoObject.VisionResult TestVision(IsoGridSquare from,
IsoGridSquare to)
- Overrides:
TestVision
in class IsoObject
Thump
public void Thump(IsoMovingObject thumper)
- Specified by:
Thump
in interface Thumpable
load
public void load(java.nio.ByteBuffer input)
throws java.io.IOException
- Overrides:
load
in class IsoObject
- Throws:
java.io.IOException
save
public void save(java.nio.ByteBuffer output)
throws java.io.IOException
- Overrides:
save
in class IsoObject
- Throws:
java.io.IOException
openCloseCurtain
public void openCloseCurtain(IsoGameCharacter chr)
removeSheet
public void removeSheet(IsoGameCharacter chr)
addSheet
public void addSheet(IsoGameCharacter chr)
ToggleWindow
public void ToggleWindow(IsoGameCharacter chr)
Unbarricade
public void Unbarricade(IsoGameCharacter chr)
haveSheetRope
public boolean haveSheetRope()
addSheetRope
public boolean addSheetRope(IsoPlayer player)
isLocked
public boolean isLocked()
isSmashed
public boolean isSmashed()
getBarricade
public int getBarricade()
getNorth
public boolean getNorth()
setIsLocked
public void setIsLocked(boolean lock)