zombie.iso.objects
Class IsoDoor
java.lang.Object
zombie.iso.IsoObject
zombie.iso.objects.IsoDoor
- All Implemented Interfaces:
- java.io.Serializable, Thumpable
public class IsoDoor
- extends IsoObject
- implements Thumpable
- 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, targetAlpha, tintb, tintg, tintr |
Constructor Summary |
IsoDoor(IsoCell cell)
|
IsoDoor(IsoCell cell,
IsoGridSquare gridSquare,
IsoSprite gid,
boolean north)
|
IsoDoor(IsoCell cell,
IsoGridSquare gridSquare,
java.lang.String gid,
boolean north)
|
IsoDoor(IsoCell cell,
IsoGridSquare gridSquare,
java.lang.String gid,
boolean north,
se.krka.kahlua.vm.KahluaTable table)
|
Method Summary |
void |
Barricade(IsoGameCharacter chr,
InventoryItem plank)
|
void |
DoTooltip(ObjectTooltip tooltipUI)
|
int |
getBarricade()
|
boolean |
getNorth()
|
java.lang.String |
getObjectName()
|
IsoGridSquare |
getOtherSideOfDoor(IsoGameCharacter chr)
|
boolean |
HasTooltip()
|
boolean |
isDestroyed()
|
boolean |
isLocked()
|
boolean |
IsOpen()
|
boolean |
IsStrengthenedByPushedItems()
|
void |
load(java.nio.ByteBuffer input)
|
boolean |
onMouseLeftClick(int x,
int y)
|
void |
render(float x,
float y,
float z,
ColorInfo info)
|
void |
save(java.nio.ByteBuffer output)
|
void |
setIsLocked(boolean lock)
|
boolean |
TestCollide(IsoMovingObject obj,
IsoGridSquare from,
IsoGridSquare to)
|
boolean |
TestPathfindCollide(IsoMovingObject obj,
IsoGridSquare from,
IsoGridSquare to)
|
IsoObject.VisionResult |
TestVision(IsoGridSquare from,
IsoGridSquare to)
|
void |
Thump(IsoMovingObject thumper)
|
void |
ToggleDoor(IsoGameCharacter chr)
|
void |
ToggleDoorActual(IsoGameCharacter chr)
|
void |
ToggleDoorSilent()
|
void |
Unbarricade(IsoGameCharacter chr)
|
void |
WeaponHit(IsoGameCharacter owner,
HandWeapon weapon)
|
Methods inherited from class zombie.iso.IsoObject |
addChild, AttachAnim, AttachExistingAnim, AttachExistingAnim, AttackObject, 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, 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
Locked
public boolean Locked
MaxHealth
public java.lang.Integer MaxHealth
PushedMaxStrength
public java.lang.Integer PushedMaxStrength
PushedStrength
public java.lang.Integer PushedStrength
type
public IsoDoor.DoorType type
north
public boolean north
open
public boolean open
tempo
public static Vector2 tempo
IsoDoor
public IsoDoor(IsoCell cell)
IsoDoor
public IsoDoor(IsoCell cell,
IsoGridSquare gridSquare,
IsoSprite gid,
boolean north)
IsoDoor
public IsoDoor(IsoCell cell,
IsoGridSquare gridSquare,
java.lang.String gid,
boolean north)
IsoDoor
public IsoDoor(IsoCell cell,
IsoGridSquare gridSquare,
java.lang.String gid,
boolean north,
se.krka.kahlua.vm.KahluaTable table)
getObjectName
public java.lang.String getObjectName()
- Overrides:
getObjectName
in class IsoObject
render
public void render(float x,
float y,
float z,
ColorInfo info)
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
Barricade
public void Barricade(IsoGameCharacter chr,
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()
IsStrengthenedByPushedItems
public boolean IsStrengthenedByPushedItems()
onMouseLeftClick
public boolean onMouseLeftClick(int x,
int y)
- Overrides:
onMouseLeftClick
in class IsoObject
TestPathfindCollide
public boolean TestPathfindCollide(IsoMovingObject obj,
IsoGridSquare from,
IsoGridSquare to)
- Overrides:
TestPathfindCollide
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
WeaponHit
public void WeaponHit(IsoGameCharacter owner,
HandWeapon weapon)
getOtherSideOfDoor
public IsoGridSquare getOtherSideOfDoor(IsoGameCharacter chr)
ToggleDoorActual
public void ToggleDoorActual(IsoGameCharacter chr)
ToggleDoor
public void ToggleDoor(IsoGameCharacter chr)
ToggleDoorSilent
public void ToggleDoorSilent()
Unbarricade
public void Unbarricade(IsoGameCharacter chr)
getBarricade
public int getBarricade()
isLocked
public boolean isLocked()
getNorth
public boolean getNorth()
setIsLocked
public void setIsLocked(boolean lock)