Package zombie.iso.objects
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
-
Nested Class Summary
Nested classes/interfaces inherited from class zombie.iso.IsoObject
IsoObject.VisionResult
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
breakSound
boolean
canPassThrough
int
Health
java.lang.Boolean
isDoor
java.lang.Boolean
isDoorFrame
int
keyId
boolean
Locked
int
lockedByCode
boolean
lockedByPadlock
int
MaxHealth
java.lang.String
name
boolean
north
int
OldNumPlanks
boolean
open
int
PushedMaxStrength
int
PushedStrength
static Vector2
tempo
java.lang.String
thumpSound
Fields inherited from class zombie.iso.IsoObject
alpha, alphaStep, AttachedAnimSprite, AttachedAnimSpriteActual, bmod, bNeverDoneAlpha, container, Damage, dir, doNotSync, emitter, externalWaterSource, gmod, highlightFlags, lastRendered, lastRenderedRendered, LowLightingQualityHack, MAX_WALL_SPLATS, NoPicking, OBF_Blink, OBF_Highlighted, OBF_HighlightRenderOnce, objectRenderEffects, offsetX, offsetY, OutlineOnMouseover, overlaySprite, overlaySpriteColor, rerouteCollide, rerouteMask, rmod, sheetRope, sheetRopeHealth, sprite, spriteName, square, stCol, sx, sy, targetAlpha, tintb, tintg, tintr, usesExternalWaterSource, wallBloodSplats, windRenderEffects
-
Constructor Summary
Constructors Constructor Description IsoThumpable(IsoCell cell)
IsoThumpable(IsoCell cell, IsoGridSquare square, java.lang.String string, boolean boolean1, KahluaTable kahluaTable)
IsoThumpable(IsoCell cell, IsoGridSquare square, java.lang.String string, java.lang.String string2, boolean boolean1, KahluaTable kahluaTable)
-
Method Summary
Modifier and Type Method Description void
addSheet(IsoGameCharacter gameCharacter)
boolean
addSheetRope(IsoPlayer player, java.lang.String string)
void
addToWorld()
boolean
canAddSheetRope()
boolean
canBeLockByPadlock()
boolean
canBePlastered()
int
countAddSheetRope()
void
createLightSource(int int1, int int2, int int3, int int4, int int5, java.lang.String string, InventoryItem inventoryItem, IsoGameCharacter gameCharacter)
void
destroy()
IsoGridSquare
getAddSheetSquare(IsoGameCharacter gameCharacter)
IsoBarricade
getBarricadeForCharacter(IsoGameCharacter gameCharacter)
IsoBarricade
getBarricadeOnOppositeSquare()
IsoBarricade
getBarricadeOnSameSquare()
IsoBarricade
getBarricadeOppositeCharacter(IsoGameCharacter gameCharacter)
boolean
getCanBarricade()
float
getCrossSpeed()
Vector2
getFacingPosition(Vector2 vector2)
int
getHealth()
IsoGridSquare
getIndoorSquare()
IsoGridSquare
getInsideSquare()
int
getKeyId()
float
getLifeDelta()
float
getLifeLeft()
IsoLightSource
getLightSource()
java.lang.String
getLightSourceFuel()
int
getLightSourceLife()
int
getLightSourceRadius()
int
getLightSourceXOffset()
int
getLightSourceYOffset()
int
getLockedByCode()
int
getMaxHealth()
KahluaTable
getModData()
java.lang.String
getName()
boolean
getNorth()
java.lang.String
getObjectName()
IsoSprite
getOpenSprite()
IsoGridSquare
getOppositeSquare()
IsoGridSquare
getOtherSideOfDoor(IsoGameCharacter gameCharacter)
KahluaTable
getTable()
java.lang.String
getThumpSound()
IsoCurtain
HasCurtains()
boolean
hasModData()
boolean
haveFuel()
boolean
haveSheetRope()
InventoryItem
insertNewFuel(InventoryItem inventoryItem, IsoGameCharacter gameCharacter)
boolean
isBarricaded()
boolean
isBlockAllTheSquare()
boolean
isCanPassThrough()
boolean
isCorner()
boolean
isDestroyed()
boolean
isDismantable()
boolean
isDoor()
boolean
isDoorFrame()
boolean
isFloor()
boolean
isHoppable()
boolean
isLightSourceOn()
boolean
isLocked()
boolean
isLockedByKey()
boolean
isLockedByPadlock()
boolean
isLockedToCharacter(IsoGameCharacter gameCharacter)
boolean
isObstructed()
boolean
IsOpen()
boolean
isPaintable()
boolean
isStairs()
boolean
IsStrengthenedByPushedItems()
boolean
isThumpable()
boolean
isWindow()
void
load(java.nio.ByteBuffer byteBuffer, int int1)
void
loadChange(java.lang.String string, java.nio.ByteBuffer byteBuffer)
boolean
onMouseLeftClick(int int1, int int2)
InventoryItem
removeCurrentFuel(IsoGameCharacter gameCharacter)
void
removeFromWorld()
boolean
removeSheetRope(IsoPlayer player)
void
save(java.nio.ByteBuffer byteBuffer)
void
saveChange(java.lang.String string, KahluaTable kahluaTable, java.nio.ByteBuffer byteBuffer)
void
setBlockAllTheSquare(boolean boolean1)
void
setBreakSound(java.lang.String string)
void
setCanBarricade(boolean boolean1)
void
setCanBeLockByPadlock(boolean boolean1)
void
setCanBePlastered(boolean boolean1)
void
setCanPassThrough(boolean boolean1)
void
setClosedSprite(IsoSprite sprite)
void
setCorner(boolean boolean1)
void
setCrossSpeed(float float1)
void
setHaveFuel(boolean boolean1)
void
setHealth(int int1)
void
setHoppable(boolean boolean1)
void
setIsContainer(boolean boolean1)
void
setIsDismantable(boolean boolean1)
void
setIsDoor(boolean boolean1)
void
setIsDoor(java.lang.Boolean Boolean1)
void
setIsDoorFrame(boolean boolean1)
void
setIsFloor(boolean boolean1)
void
setIsHoppable(boolean boolean1)
void
setIsLocked(boolean boolean1)
void
setIsStairs(boolean boolean1)
void
setIsThumpable(boolean boolean1)
void
setKeyId(int int1)
void
setKeyId(int int1, boolean boolean1)
void
setLifeDelta(float float1)
void
setLifeLeft(float float1)
void
setLightSource(IsoLightSource lightSource)
void
setLightSourceFuel(java.lang.String string)
void
setLightSourceLife(int int1)
void
setLightSourceOn(boolean boolean1)
void
setLightSourceRadius(int int1)
void
setLightSourceXOffset(int int1)
void
setLightSourceYOffset(int int1)
void
setLockedByCode(int int1)
void
setLockedByKey(boolean boolean1)
void
setLockedByPadlock(boolean boolean1)
void
setMaxHealth(int int1)
void
setModData(KahluaTable kahluaTable)
void
setName(java.lang.String string)
void
setOpenSprite(IsoSprite sprite)
void
setPaintable(boolean boolean1)
void
setSprite(java.lang.String string)
void
setSpriteFromName(java.lang.String string)
void
setTable(KahluaTable kahluaTable)
void
setThumpDmg(java.lang.Integer integer)
void
setThumpSound(java.lang.String string)
void
syncIsoObject(boolean boolean1, byte byte1, UdpConnection udpConnection, java.nio.ByteBuffer byteBuffer)
void
syncIsoObjectSend(ByteBufferWriter byteBufferWriter)
void
syncIsoThumpable()
boolean
TestCollide(IsoMovingObject movingObject, IsoGridSquare square, IsoGridSquare square2)
boolean
TestPathfindCollide(IsoMovingObject movingObject, IsoGridSquare square, IsoGridSquare square2)
IsoObject.VisionResult
TestVision(IsoGridSquare square, IsoGridSquare square2)
void
Thump(IsoMovingObject movingObject)
void
ToggleDoor(IsoGameCharacter gameCharacter)
void
ToggleDoorActual(IsoGameCharacter gameCharacter)
void
ToggleDoorSilent()
void
toggleLightSource(boolean boolean1)
void
update()
void
WeaponHit(IsoGameCharacter gameCharacter, HandWeapon handWeapon)
Methods inherited from class zombie.iso.IsoObject
addChild, addSecondaryContainer, AttachAnim, AttachExistingAnim, AttachExistingAnim, AttackObject, checkHaveElectricity, checkMoveWithWind, checkMoveWithWind, cleanWallBlood, Collision, createChecksum, createContainersFromSpriteProperties, customHashCode, Damage, debugPrintout, DirtySlice, DoChecksumCheck, DoChecksumCheck, doFindExternalWaterSource, DoSpecialTooltip, DoTooltip, factoryClassFromFileInput, factoryFromFileInput, factoryFromFileInput, FindExternalWaterSource, getAlpha, getAlphaStep, getAttachedAnimSprite, getCell, getChildSprites, getContainer, getContainerByEitherType, getContainerByIndex, getContainerByType, getContainerCount, getContainerIndex, getCustomColor, getDamage, getDir, getFacingPositionAlt, getHighlightColor, getIsSurfaceNormalOffset, getItemContainer, getLastRendered, getLastRenderedRendered, getMaskClickedY, getMD5Checksum, getMovingObjectIndex, getNew, getNew, getObjectIndex, getObjectRenderEffects, getObjectRenderEffectsToApply, getOffsetX, getOffsetY, getOverlaySprite, getOverlaySpriteColor, getProperties, getRenderYOffset, getRerouteCollide, getRerouteMask, getRerouteMaskObject, getScriptName, getSpecialObjectIndex, getSprite, getSpriteName, getSquare, getStaticMovingObjectIndex, getSurfaceNormalOffset, getSurfaceOffset, getTargetAlpha, getTextureName, getTile, getType, getUsesExternalWaterSource, GetVehicleSlowFactor, getWaterAmount, getWindRenderEffects, getWorldObjectIndex, getX, getY, getZ, hasExternalWaterSource, HasTooltip, hasWater, haveSpecialTooltip, Hit, isBlink, isCharacter, isHighlighted, isMaskClicked, isMaskClicked, isNoPicking, isOutlineOnMouseover, isStairsNorth, isStairsObject, isStairsWest, isTableSurface, isTableTopObject, isTaintedWater, isZombie, loadFromRemoteBuffer, loadFromRemoteBuffer, loadState, onMouseRightClick, onMouseRightReleased, removeAllContainers, RemoveAttachedAnim, RemoveAttachedAnims, removeFromSquare, removeRenderEffect, render, render, renderFxMask, renderlast, renderObjectPicker, replaceItem, reset, reuseGridSquare, revisionUp, saveState, sendObjectChange, sendObjectChange, sendObjectChange, Serialize, setAlpha, setAlphaStep, setAttachedAnimSprite, setBlink, setChildSprites, setContainer, setCustomColor, setCustomColor, setDamage, setDefaultCondition, setDir, setDir, setHighlightColor, setHighlightColor, setHighlighted, setHighlighted, setLastRendered, setLastRenderedRendered, SetName, setNoPicking, setOffsetX, setOffsetY, setOutlineOnMouseover, setOverlaySprite, setOverlaySprite, setOverlaySprite, setOverlaySpriteColor, setRenderEffect, setRenderEffect, setRenderYOffset, setRerouteCollide, setRerouteMask, setSpecialTooltip, setSprite, setSquare, setTaintedWater, setTargetAlpha, setType, setUsesExternalWaterSource, setWaterAmount, softReset, transmitCompleteItemToClients, transmitCompleteItemToServer, transmitCustomColor, transmitModData, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToServer, UnCollision, useItemOn, useWater, writeToRemoteBuffer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface zombie.iso.objects.interfaces.BarricadeAble
getSquare
-
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
-
-
Constructor Details
-
IsoThumpable
-
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
- Overrides:
getModData
in classIsoObject
-
setModData
-
hasModData
public boolean hasModData()- Overrides:
hasModData
in classIsoObject
-
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 classIsoObject
-
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 interfaceBarricadeAble
-
getFacingPosition
- Overrides:
getFacingPosition
in classIsoObject
-
isDoorFrame
public boolean isDoorFrame() -
setIsDoor
public void setIsDoor(boolean boolean1) -
setIsDoorFrame
public void setIsDoorFrame(boolean boolean1) -
setSprite
public void setSprite(java.lang.String string) -
setSpriteFromName
public void setSpriteFromName(java.lang.String string)- Overrides:
setSpriteFromName
in classIsoObject
-
setClosedSprite
-
setOpenSprite
-
load
public void load(java.nio.ByteBuffer byteBuffer, int int1) throws java.io.IOException -
save
public void save(java.nio.ByteBuffer byteBuffer) throws java.io.IOException -
isDestroyed
public boolean isDestroyed()- Specified by:
isDestroyed
in interfaceThumpable
-
IsOpen
public boolean IsOpen() -
IsStrengthenedByPushedItems
public boolean IsStrengthenedByPushedItems() -
onMouseLeftClick
public boolean onMouseLeftClick(int int1, int int2)- Overrides:
onMouseLeftClick
in classIsoObject
-
TestPathfindCollide
public boolean TestPathfindCollide(IsoMovingObject movingObject, IsoGridSquare square, IsoGridSquare square2)- Overrides:
TestPathfindCollide
in classIsoObject
-
TestCollide
public boolean TestCollide(IsoMovingObject movingObject, IsoGridSquare square, IsoGridSquare square2)- Overrides:
TestCollide
in classIsoObject
-
TestVision
- Overrides:
TestVision
in classIsoObject
-
Thump
-
WeaponHit
-
getOtherSideOfDoor
-
ToggleDoorActual
-
ToggleDoor
-
ToggleDoorSilent
public void ToggleDoorSilent() -
isObstructed
public boolean isObstructed() -
haveSheetRope
public boolean haveSheetRope() -
countAddSheetRope
public int countAddSheetRope() -
canAddSheetRope
public boolean canAddSheetRope() -
addSheetRope
-
removeSheetRope
-
createLightSource
public void createLightSource(int int1, int int2, int int3, int int4, int int5, java.lang.String string, InventoryItem inventoryItem, IsoGameCharacter gameCharacter) -
insertNewFuel
-
removeCurrentFuel
-
update
public void update() -
destroy
public void destroy() -
getBarricadeOnSameSquare
- Specified by:
getBarricadeOnSameSquare
in interfaceBarricadeAble
-
getBarricadeOnOppositeSquare
- Specified by:
getBarricadeOnOppositeSquare
in interfaceBarricadeAble
-
isBarricaded
public boolean isBarricaded()- Specified by:
isBarricaded
in interfaceBarricadeAble
-
getBarricadeForCharacter
- Specified by:
getBarricadeForCharacter
in interfaceBarricadeAble
-
getBarricadeOppositeCharacter
- Specified by:
getBarricadeOppositeCharacter
in interfaceBarricadeAble
-
setName
public void setName(java.lang.String string) -
getName
public java.lang.String getName() -
setIsDoor
public void setIsDoor(java.lang.Boolean Boolean1) -
getTable
-
setTable
-
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
-
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
-
setLightSource
-
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
- Overrides:
syncIsoObjectSend
in classIsoObject
-
syncIsoObject
public void syncIsoObject(boolean boolean1, byte byte1, UdpConnection udpConnection, java.nio.ByteBuffer byteBuffer)- Overrides:
syncIsoObject
in classIsoObject
-
addToWorld
public void addToWorld()- Overrides:
addToWorld
in classIsoObject
-
removeFromWorld
public void removeFromWorld()- Overrides:
removeFromWorld
in classIsoObject
-
saveChange
public void saveChange(java.lang.String string, KahluaTable kahluaTable, java.nio.ByteBuffer byteBuffer)- Overrides:
saveChange
in classIsoObject
-
loadChange
public void loadChange(java.lang.String string, java.nio.ByteBuffer byteBuffer)- Overrides:
loadChange
in classIsoObject
-
HasCurtains
-
getInsideSquare
-
getOppositeSquare
- Specified by:
getOppositeSquare
in interfaceBarricadeAble
-
getAddSheetSquare
-
addSheet
-
getIndoorSquare
-
getKeyId
public int getKeyId() -
setKeyId
public void setKeyId(int int1, boolean boolean1) -
setKeyId
public void setKeyId(int int1) -
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
-
getThumpSound
public java.lang.String getThumpSound() -
setThumpSound
public void setThumpSound(java.lang.String string)
-