zombie.iso.objects
Class IsoWoodenWall

java.lang.Object
  extended by zombie.iso.IsoObject
      extended by zombie.iso.objects.IsoWoodenWall
All Implemented Interfaces:
java.io.Serializable, Thumpable

public class IsoWoodenWall
extends IsoObject
implements Thumpable

See Also:
Serialized Form

Nested Class Summary
static class IsoWoodenWall.DoorType
           
 
Nested classes/interfaces inherited from class zombie.iso.IsoObject
IsoObject.VisionResult
 
Field Summary
 int Barricaded
           
 java.lang.Integer BarricideMaxStrength
           
 java.lang.Integer BarricideStrength
           
 java.lang.Integer Health
           
 boolean Locked
           
 java.lang.Integer MaxHealth
           
 boolean north
           
 boolean open
           
 java.lang.Integer PushedMaxStrength
           
 java.lang.Integer PushedStrength
           
 IsoWoodenWall.DoorType type
           
 
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
IsoWoodenWall(IsoCell cell)
           
IsoWoodenWall(IsoCell cell, IsoGridSquare gridSquare, IsoSprite gid, boolean north)
           
IsoWoodenWall(IsoCell cell, IsoGridSquare gridSquare, java.lang.String gid, boolean north)
           
IsoWoodenWall(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)
           
 java.lang.String getObjectName()
           
 IsoGridSquare getOtherSideOfDoor(IsoGameCharacter chr)
           
 boolean HasTooltip()
           
 boolean isDestroyed()
           
 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)
           
 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
 

Field Detail

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 IsoWoodenWall.DoorType type

north

public boolean north

open

public boolean open
Constructor Detail

IsoWoodenWall

public IsoWoodenWall(IsoCell cell)

IsoWoodenWall

public IsoWoodenWall(IsoCell cell,
                     IsoGridSquare gridSquare,
                     IsoSprite gid,
                     boolean north)

IsoWoodenWall

public IsoWoodenWall(IsoCell cell,
                     IsoGridSquare gridSquare,
                     java.lang.String gid,
                     boolean north)

IsoWoodenWall

public IsoWoodenWall(IsoCell cell,
                     IsoGridSquare gridSquare,
                     java.lang.String gid,
                     boolean north,
                     se.krka.kahlua.vm.KahluaTable table)
Method Detail

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)