Class IsoThumpable

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

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

    • isDoor

      public java.lang.Boolean isDoor
    • isDoorFrame

      public java.lang.Boolean isDoorFrame
    • breakSound

      public java.lang.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
    • name

      public java.lang.String name
    • 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 java.lang.String thumpSound
    • tempo

      public static Vector2 tempo
  • Constructor Details

    • IsoThumpable

      public IsoThumpable​(IsoCell cell)
    • IsoThumpable

      public IsoThumpable​(IsoCell cell, IsoGridSquare square, java.lang.String string, java.lang.String string2, boolean boolean1, KahluaTable kahluaTable)
    • IsoThumpable

      public IsoThumpable​(IsoCell cell, IsoGridSquare square, java.lang.String string, boolean boolean1, KahluaTable kahluaTable)
  • 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()
    • setIsContainer

      public void setIsContainer​(boolean boolean1)
    • setIsStairs

      public void setIsStairs​(boolean boolean1)
    • isStairs

      public boolean isStairs()
    • isWindow

      public boolean isWindow()
    • getObjectName

      public java.lang.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​(java.lang.Integer integer)
    • setBreakSound

      public void setBreakSound​(java.lang.String string)
    • 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​(java.lang.String string)
      Overrides:
      setSprite in class IsoObject
    • setSpriteFromName

      public void setSpriteFromName​(java.lang.String string)
      Overrides:
      setSpriteFromName in class IsoObject
    • setClosedSprite

      public void setClosedSprite​(IsoSprite sprite)
    • setOpenSprite

      public void setOpenSprite​(IsoSprite sprite)
    • load

      public void load​(java.nio.ByteBuffer byteBuffer, int int1) throws java.io.IOException
      Overrides:
      load in class IsoObject
      Throws:
      java.io.IOException
    • save

      public void save​(java.nio.ByteBuffer byteBuffer) throws java.io.IOException
      Overrides:
      save in class IsoObject
      Throws:
      java.io.IOException
    • isDestroyed

      public boolean isDestroyed()
      Specified by:
      isDestroyed in interface Thumpable
    • 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
    • WeaponHit

      public void WeaponHit​(IsoGameCharacter gameCharacter, HandWeapon handWeapon)
    • 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()
    • countAddSheetRope

      public int countAddSheetRope()
    • canAddSheetRope

      public boolean canAddSheetRope()
    • addSheetRope

      public boolean addSheetRope​(IsoPlayer player, java.lang.String string)
    • removeSheetRope

      public boolean removeSheetRope​(IsoPlayer player)
    • createLightSource

      public void createLightSource​(int int1, int int2, int int3, int int4, int int5, java.lang.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
    • getBarricadeForCharacter

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

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

      public void setName​(java.lang.String string)
      Overrides:
      setName in class IsoObject
    • getName

      public java.lang.String getName()
      Overrides:
      getName in class IsoObject
    • setIsDoor

      public void setIsDoor​(java.lang.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()
    • 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 java.lang.String getLightSourceFuel()
    • setLightSourceFuel

      public void setLightSourceFuel​(java.lang.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, java.nio.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​(java.lang.String string, KahluaTable kahluaTable, java.nio.ByteBuffer byteBuffer)
      Overrides:
      saveChange in class IsoObject
    • loadChange

      public void loadChange​(java.lang.String string, java.nio.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
    • 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)
    • getThumpSound

      public java.lang.String getThumpSound()
    • setThumpSound

      public void setThumpSound​(java.lang.String string)