Class IsoThumpable

java.lang.Object
zombie.iso.IsoObject
zombie.iso.objects.IsoThumpable
All Implemented Interfaces:
Serializable, BarricadeAble, Thumpable

public class IsoThumpable extends IsoObject implements BarricadeAble, Thumpable
See Also:
  • Field Details

    • isDoor

      public Boolean isDoor
    • isDoorFrame

      public Boolean isDoorFrame
    • breakSound

      public String breakSound
    • Locked

      public boolean Locked
    • MaxHealth

      public int MaxHealth
    • Health

      public int Health
    • PushedMaxStrength

      public int PushedMaxStrength
    • PushedStrength

      public int PushedStrength
    • north

      public boolean north
    • open

      public boolean open
    • canPassThrough

      public boolean canPassThrough
    • keyId

      public int keyId
    • lockedByPadlock

      public boolean lockedByPadlock
    • lockedByCode

      public int lockedByCode
    • OldNumPlanks

      public int OldNumPlanks
    • thumpSound

      public String thumpSound
    • tempo

      public static final Vector2 tempo
  • Constructor Details

  • Method Details

    • getModData

      public KahluaTable getModData()
      Overrides:
      getModData in class IsoObject
    • setModData

      public void setModData(KahluaTable kahluaTable)
    • hasModData

      public boolean hasModData()
      Overrides:
      hasModData in class IsoObject
    • isCanPassThrough

      public boolean isCanPassThrough()
    • setCanPassThrough

      public void setCanPassThrough(boolean boolean1)
    • isBlockAllTheSquare

      public boolean isBlockAllTheSquare()
    • setBlockAllTheSquare

      public void setBlockAllTheSquare(boolean boolean1)
    • setIsDismantable

      public void setIsDismantable(boolean boolean1)
    • isDismantable

      public boolean isDismantable()
    • getCrossSpeed

      public float getCrossSpeed()
    • setCrossSpeed

      public void setCrossSpeed(float float1)
    • setIsFloor

      public void setIsFloor(boolean boolean1)
    • isCorner

      public boolean isCorner()
    • isFloor

      public boolean isFloor()
      Overrides:
      isFloor in class IsoObject
    • setIsContainer

      public void setIsContainer(boolean boolean1)
    • setIsStairs

      public void setIsStairs(boolean boolean1)
    • isStairs

      public boolean isStairs()
    • isWindow

      public boolean isWindow()
    • getObjectName

      public String getObjectName()
      Overrides:
      getObjectName in class IsoObject
    • setCorner

      public void setCorner(boolean boolean1)
    • setCanBarricade

      public void setCanBarricade(boolean boolean1)
    • getCanBarricade

      public boolean getCanBarricade()
    • setHealth

      public void setHealth(int int1)
    • getHealth

      public int getHealth()
    • setMaxHealth

      public void setMaxHealth(int int1)
    • getMaxHealth

      public int getMaxHealth()
    • setThumpDmg

      public void setThumpDmg(Integer integer)
    • getThumpDmg

      public int getThumpDmg()
    • setBreakSound

      public void setBreakSound(String string)
    • getBreakSound

      public String getBreakSound()
    • isDoor

      public boolean isDoor()
    • getNorth

      public boolean getNorth()
      Specified by:
      getNorth in interface BarricadeAble
    • getFacingPosition

      public Vector2 getFacingPosition(Vector2 vector2)
      Overrides:
      getFacingPosition in class IsoObject
    • isDoorFrame

      public boolean isDoorFrame()
    • setIsDoor

      public void setIsDoor(boolean boolean1)
    • setIsDoorFrame

      public void setIsDoorFrame(boolean boolean1)
    • setSprite

      public void setSprite(String string)
      Overrides:
      setSprite in class IsoObject
    • setSpriteFromName

      public void setSpriteFromName(String string)
      Overrides:
      setSpriteFromName in class IsoObject
    • setClosedSprite

      public void setClosedSprite(IsoSprite sprite)
    • setOpenSprite

      public void setOpenSprite(IsoSprite sprite)
    • load

      public void load(ByteBuffer byteBuffer, int int1, boolean boolean1) throws IOException
      Overrides:
      load in class IsoObject
      Throws:
      IOException
    • save

      public void save(ByteBuffer byteBuffer, boolean boolean1) throws IOException
      Overrides:
      save in class IsoObject
      Throws:
      IOException
    • isDestroyed

      public boolean isDestroyed()
      Specified by:
      isDestroyed in interface Thumpable
      Overrides:
      isDestroyed in class IsoObject
    • IsOpen

      public boolean IsOpen()
    • IsStrengthenedByPushedItems

      public boolean IsStrengthenedByPushedItems()
    • onMouseLeftClick

      public boolean onMouseLeftClick(int int1, int int2)
      Overrides:
      onMouseLeftClick in class IsoObject
    • TestPathfindCollide

      public boolean TestPathfindCollide(IsoMovingObject movingObject, IsoGridSquare square, IsoGridSquare square2)
      Overrides:
      TestPathfindCollide in class IsoObject
    • TestCollide

      public boolean TestCollide(IsoMovingObject movingObject, IsoGridSquare square, IsoGridSquare square2)
      Overrides:
      TestCollide in class IsoObject
    • TestVision

      public IsoObject.VisionResult TestVision(IsoGridSquare square, IsoGridSquare square2)
      Overrides:
      TestVision in class IsoObject
    • Thump

      public void Thump(IsoMovingObject movingObject)
      Specified by:
      Thump in interface Thumpable
      Overrides:
      Thump in class IsoObject
    • getThumpableFor

      public Thumpable getThumpableFor(IsoGameCharacter gameCharacter)
      Specified by:
      getThumpableFor in interface Thumpable
      Overrides:
      getThumpableFor in class IsoObject
    • getThumpCondition

      public float getThumpCondition()
      Specified by:
      getThumpCondition in interface Thumpable
      Overrides:
      getThumpCondition in class IsoObject
    • WeaponHit

      public void WeaponHit(IsoGameCharacter gameCharacter, HandWeapon handWeapon)
      Specified by:
      WeaponHit in interface Thumpable
      Overrides:
      WeaponHit in class IsoObject
    • getOtherSideOfDoor

      public IsoGridSquare getOtherSideOfDoor(IsoGameCharacter gameCharacter)
    • ToggleDoorActual

      public void ToggleDoorActual(IsoGameCharacter gameCharacter)
    • ToggleDoor

      public void ToggleDoor(IsoGameCharacter gameCharacter)
    • ToggleDoorSilent

      public void ToggleDoorSilent()
    • isObstructed

      public boolean isObstructed()
    • haveSheetRope

      public boolean haveSheetRope()
      Overrides:
      haveSheetRope in class IsoObject
    • countAddSheetRope

      public int countAddSheetRope()
      Overrides:
      countAddSheetRope in class IsoObject
    • canAddSheetRope

      public boolean canAddSheetRope()
      Overrides:
      canAddSheetRope in class IsoObject
    • addSheetRope

      public boolean addSheetRope(IsoPlayer player, String string)
      Overrides:
      addSheetRope in class IsoObject
    • removeSheetRope

      public boolean removeSheetRope(IsoPlayer player)
      Overrides:
      removeSheetRope in class IsoObject
    • createLightSource

      public void createLightSource(int int1, int int2, int int3, int int4, int int5, String string, InventoryItem inventoryItem, IsoGameCharacter gameCharacter)
    • insertNewFuel

      public InventoryItem insertNewFuel(InventoryItem inventoryItem, IsoGameCharacter gameCharacter)
    • removeCurrentFuel

      public InventoryItem removeCurrentFuel(IsoGameCharacter gameCharacter)
    • update

      public void update()
      Overrides:
      update in class IsoObject
    • destroy

      public void destroy()
    • getBarricadeOnSameSquare

      public IsoBarricade getBarricadeOnSameSquare()
      Specified by:
      getBarricadeOnSameSquare in interface BarricadeAble
    • getBarricadeOnOppositeSquare

      public IsoBarricade getBarricadeOnOppositeSquare()
      Specified by:
      getBarricadeOnOppositeSquare in interface BarricadeAble
    • isBarricaded

      public boolean isBarricaded()
      Specified by:
      isBarricaded in interface BarricadeAble
    • isBarricadeAllowed

      public boolean isBarricadeAllowed()
      Specified by:
      isBarricadeAllowed in interface BarricadeAble
    • getBarricadeForCharacter

      public IsoBarricade getBarricadeForCharacter(IsoGameCharacter gameCharacter)
      Specified by:
      getBarricadeForCharacter in interface BarricadeAble
    • getBarricadeOppositeCharacter

      public IsoBarricade getBarricadeOppositeCharacter(IsoGameCharacter gameCharacter)
      Specified by:
      getBarricadeOppositeCharacter in interface BarricadeAble
    • setIsDoor

      public void setIsDoor(Boolean Boolean1)
    • getTable

      public KahluaTable getTable()
      Overrides:
      getTable in class IsoObject
    • setTable

      public void setTable(KahluaTable kahluaTable)
      Overrides:
      setTable in class IsoObject
    • canBePlastered

      public boolean canBePlastered()
    • setCanBePlastered

      public void setCanBePlastered(boolean boolean1)
    • isPaintable

      public boolean isPaintable()
    • setPaintable

      public void setPaintable(boolean boolean1)
    • isLocked

      public boolean isLocked()
    • setIsLocked

      public void setIsLocked(boolean boolean1)
    • isThumpable

      public boolean isThumpable()
    • setIsThumpable

      public void setIsThumpable(boolean boolean1)
    • setIsHoppable

      public void setIsHoppable(boolean boolean1)
    • getOpenSprite

      public IsoSprite getOpenSprite()
    • isHoppable

      public boolean isHoppable()
      Overrides:
      isHoppable in class IsoObject
    • setHoppable

      public void setHoppable(boolean boolean1)
    • getLightSourceRadius

      public int getLightSourceRadius()
    • setLightSourceRadius

      public void setLightSourceRadius(int int1)
    • getLightSourceXOffset

      public int getLightSourceXOffset()
    • setLightSourceXOffset

      public void setLightSourceXOffset(int int1)
    • getLightSourceYOffset

      public int getLightSourceYOffset()
    • setLightSourceYOffset

      public void setLightSourceYOffset(int int1)
    • getLightSourceLife

      public int getLightSourceLife()
    • setLightSourceLife

      public void setLightSourceLife(int int1)
    • isLightSourceOn

      public boolean isLightSourceOn()
    • setLightSourceOn

      public void setLightSourceOn(boolean boolean1)
    • getLightSource

      public IsoLightSource getLightSource()
    • setLightSource

      public void setLightSource(IsoLightSource lightSource)
    • toggleLightSource

      public void toggleLightSource(boolean boolean1)
    • getLightSourceFuel

      public String getLightSourceFuel()
    • setLightSourceFuel

      public void setLightSourceFuel(String string)
    • getLifeLeft

      public float getLifeLeft()
    • setLifeLeft

      public void setLifeLeft(float float1)
    • getLifeDelta

      public float getLifeDelta()
    • setLifeDelta

      public void setLifeDelta(float float1)
    • haveFuel

      public boolean haveFuel()
    • setHaveFuel

      public void setHaveFuel(boolean boolean1)
    • syncIsoObjectSend

      public void syncIsoObjectSend(ByteBufferWriter byteBufferWriter)
      Overrides:
      syncIsoObjectSend in class IsoObject
    • syncIsoObject

      public void syncIsoObject(boolean boolean1, byte byte1, UdpConnection udpConnection, ByteBuffer byteBuffer)
      Overrides:
      syncIsoObject in class IsoObject
    • addToWorld

      public void addToWorld()
      Overrides:
      addToWorld in class IsoObject
    • removeFromWorld

      public void removeFromWorld()
      Overrides:
      removeFromWorld in class IsoObject
    • saveChange

      public void saveChange(String string, KahluaTable kahluaTable, ByteBuffer byteBuffer)
      Overrides:
      saveChange in class IsoObject
    • loadChange

      public void loadChange(String string, ByteBuffer byteBuffer)
      Overrides:
      loadChange in class IsoObject
    • HasCurtains

      public IsoCurtain HasCurtains()
    • getInsideSquare

      public IsoGridSquare getInsideSquare()
    • getOppositeSquare

      public IsoGridSquare getOppositeSquare()
      Specified by:
      getOppositeSquare in interface BarricadeAble
    • isAdjacentToSquare

      public boolean isAdjacentToSquare(IsoGridSquare square)
    • getAddSheetSquare

      public IsoGridSquare getAddSheetSquare(IsoGameCharacter gameCharacter)
    • addSheet

      public void addSheet(IsoGameCharacter gameCharacter)
    • getIndoorSquare

      public IsoGridSquare getIndoorSquare()
    • getKeyId

      public int getKeyId()
      Overrides:
      getKeyId in class IsoObject
    • setKeyId

      public void setKeyId(int int1, boolean boolean1)
    • setKeyId

      public void setKeyId(int int1)
      Overrides:
      setKeyId in class IsoObject
    • isLockedByKey

      public boolean isLockedByKey()
    • setLockedByKey

      public void setLockedByKey(boolean boolean1)
    • isLockedByPadlock

      public boolean isLockedByPadlock()
    • syncIsoThumpable

      public void syncIsoThumpable()
    • setLockedByPadlock

      public void setLockedByPadlock(boolean boolean1)
    • canBeLockByPadlock

      public boolean canBeLockByPadlock()
    • setCanBeLockByPadlock

      public void setCanBeLockByPadlock(boolean boolean1)
    • getLockedByCode

      public int getLockedByCode()
    • setLockedByCode

      public void setLockedByCode(int int1)
    • isLockedToCharacter

      public boolean isLockedToCharacter(IsoGameCharacter gameCharacter)
    • canClimbOver

      public boolean canClimbOver(IsoGameCharacter gameCharacter)
    • canClimbThrough

      public boolean canClimbThrough(IsoGameCharacter gameCharacter)
    • getThumpSound

      public String getThumpSound()
    • setThumpSound

      public void setThumpSound(String string)
    • getRenderEffectMaster

      public IsoObject getRenderEffectMaster()
      Overrides:
      getRenderEffectMaster in class IsoObject
    • getSpriteEdge

      public IsoDirections getSpriteEdge(boolean boolean1)