Package zombie.iso.objects
Class IsoThumpable
java.lang.Object
zombie.iso.IsoObject
zombie.iso.objects.IsoThumpable
- All Implemented Interfaces:
Serializable
,BarricadeAble
,Thumpable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class zombie.iso.IsoObject
IsoObject.IsoObjectFactory, IsoObject.OutlineShader, IsoObject.VisionResult
-
Field Summary
Modifier and TypeFieldDescriptionboolean
int
int
boolean
int
boolean
int
boolean
int
boolean
int
int
static final Vector2
Fields inherited from class zombie.iso.IsoObject
AttachedAnimSprite, bAlphaForced, bmod, bMovedThumpable, bNeverDoneAlpha, container, Damage, dir, doNotSync, emitter, externalWaterSource, gmod, highlightFlags, isOutlineHighlight, isOutlineHlAttached, isOutlineHlBlink, lastRendered, lastRenderedRendered, LowLightingQualityHack, MAX_WALL_SPLATS, name, NoPicking, OBF_Blink, OBF_Highlighted, OBF_HighlightRenderOnce, objectRenderEffects, offsetX, offsetY, outlineHighlightCol, OutlineOnMouseover, overlaySprite, overlaySpriteColor, partialThumpDmg, rerouteCollide, rerouteMask, rmod, sheetRope, sheetRopeHealth, sprite, spriteName, square, sx, sy, tintb, tintg, tintr, usesExternalWaterSource, wallBloodSplats, windRenderEffects
-
Constructor Summary
ConstructorDescriptionIsoThumpable
(IsoCell cell) IsoThumpable
(IsoCell cell, IsoGridSquare square, String string, boolean boolean1, KahluaTable kahluaTable) IsoThumpable
(IsoCell cell, IsoGridSquare square, String string, String string2, boolean boolean1, KahluaTable kahluaTable) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addSheet
(IsoGameCharacter gameCharacter) boolean
addSheetRope
(IsoPlayer player, String string) void
boolean
boolean
boolean
boolean
canClimbOver
(IsoGameCharacter gameCharacter) boolean
canClimbThrough
(IsoGameCharacter gameCharacter) int
void
createLightSource
(int int1, int int2, int int3, int int4, int int5, String string, InventoryItem inventoryItem, IsoGameCharacter gameCharacter) void
destroy()
getAddSheetSquare
(IsoGameCharacter gameCharacter) getBarricadeForCharacter
(IsoGameCharacter gameCharacter) getBarricadeOppositeCharacter
(IsoGameCharacter gameCharacter) boolean
float
getFacingPosition
(Vector2 vector2) int
int
getKeyId()
float
float
int
int
int
int
int
int
boolean
getNorth()
getOtherSideOfDoor
(IsoGameCharacter gameCharacter) getSpriteEdge
(boolean boolean1) getTable()
getThumpableFor
(IsoGameCharacter gameCharacter) float
int
boolean
boolean
haveFuel()
boolean
insertNewFuel
(InventoryItem inventoryItem, IsoGameCharacter gameCharacter) boolean
isAdjacentToSquare
(IsoGridSquare square) boolean
boolean
boolean
boolean
boolean
isCorner()
boolean
boolean
boolean
isDoor()
boolean
boolean
isFloor()
boolean
boolean
boolean
isLocked()
boolean
boolean
boolean
isLockedToCharacter
(IsoGameCharacter gameCharacter) boolean
boolean
IsOpen()
boolean
boolean
isStairs()
boolean
boolean
boolean
isWindow()
void
load
(ByteBuffer byteBuffer, int int1, boolean boolean1) void
loadChange
(String string, ByteBuffer byteBuffer) boolean
onMouseLeftClick
(int int1, int int2) removeCurrentFuel
(IsoGameCharacter gameCharacter) void
boolean
removeSheetRope
(IsoPlayer player) void
save
(ByteBuffer byteBuffer, boolean boolean1) void
saveChange
(String string, KahluaTable kahluaTable, ByteBuffer byteBuffer) void
setBlockAllTheSquare
(boolean boolean1) void
setBreakSound
(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
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
(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
setOpenSprite
(IsoSprite sprite) void
setPaintable
(boolean boolean1) void
void
setSpriteFromName
(String string) void
setTable
(KahluaTable kahluaTable) void
setThumpDmg
(Integer integer) void
setThumpSound
(String string) void
syncIsoObject
(boolean boolean1, byte byte1, UdpConnection udpConnection, ByteBuffer byteBuffer) void
syncIsoObjectSend
(ByteBufferWriter byteBufferWriter) void
boolean
TestCollide
(IsoMovingObject movingObject, IsoGridSquare square, IsoGridSquare square2) boolean
TestPathfindCollide
(IsoMovingObject movingObject, IsoGridSquare square, IsoGridSquare square2) TestVision
(IsoGridSquare square, IsoGridSquare square2) void
Thump
(IsoMovingObject movingObject) void
ToggleDoor
(IsoGameCharacter gameCharacter) void
ToggleDoorActual
(IsoGameCharacter gameCharacter) void
void
toggleLightSource
(boolean boolean1) void
update()
void
WeaponHit
(IsoGameCharacter gameCharacter, HandWeapon handWeapon) Methods inherited from class zombie.iso.IsoObject
addChild, addItemsFromProperties, addObjectAmbientEmitter, addSecondaryContainer, AttachAnim, AttachExistingAnim, AttachExistingAnim, AttackObject, checkAmbientSound, checkHaveElectricity, checkMoveWithWind, checkMoveWithWind, cleanWallBlood, clearAttachedAnimSprite, Collision, createContainersFromSpriteProperties, customHashCode, Damage, debugPrintout, destroyFence, DirtySlice, doFindExternalWaterSource, DoSpecialTooltip, DoTooltip, factoryClassFromFileInput, factoryFromFileInput, factoryFromFileInput, factoryFromFileInput_OLD, factoryGetClassID, FindExternalWaterSource, FindExternalWaterSource, FindWaterSourceOnSquare, getAlpha, getAlpha, getAlphaUpdateRateDiv, getAlphaUpdateRateMul, getAttachedAnimSprite, getCell, getChildSprites, getChunk, getContainer, getContainerByEitherType, getContainerByIndex, getContainerByType, getContainerCount, getContainerIndex, getCustomColor, getDamage, getDir, getFacingPositionAlt, getFactoryVehicle, getHighlightColor, getIsSurfaceNormalOffset, getItemContainer, getLastRendered, getLastRenderedRendered, getMaskClickedY, getMovingObjectIndex, getName, getNew, getNew, getObjectIndex, getObjectRenderEffects, getObjectRenderEffectsToApply, getOffsetX, getOffsetY, getOutlineHighlightCol, getOutlineHighlightCol, getOutlineThickness, getOverlaySprite, getOverlaySpriteColor, getPipedFuelAmount, getProperties, getRenderYOffset, getRerouteCollide, getRerouteMask, getRerouteMaskObject, getScriptName, getSpecialObjectIndex, getSprite, getSpriteGridObjects, getSpriteName, getSquare, getStaticMovingObjectIndex, getSurfaceNormalOffset, getSurfaceOffset, getSurfaceOffsetNoTable, getTargetAlpha, getTargetAlpha, getTextureName, getTile, getType, getUsesExternalWaterSource, GetVehicleSlowFactor, getWaterAmount, getWaterMax, getWindRenderEffects, getWorldObjectIndex, getX, getY, getZ, hasExternalWaterSource, hasObjectAmbientEmitter, HasTooltip, hasWater, haveSpecialTooltip, Hit, HitByVehicle, isAlphaAndTargetZero, isAlphaAndTargetZero, isAlphaZero, isAlphaZero, isBlink, isCharacter, isExistInTheWorld, isHighlighted, isItemAllowedInContainer, isMaskClicked, isMaskClicked, isMovedThumpable, isNoPicking, isNorthHoppable, isOutlineHighlight, isOutlineHighlight, isOutlineHlAttached, isOutlineHlAttached, isOutlineHlBlink, isOutlineHlBlink, isOutlineOnMouseover, isRemoveItemAllowedFromContainer, isSpriteInvisible, isStairsNorth, isStairsObject, isStairsWest, isTableSurface, isTableTopObject, isTaintedWater, isTargetAlphaZero, isUpdateAlphaDuringRender, isUpdateAlphaEnabled, isZombie, load, loadFromRemoteBuffer, loadFromRemoteBuffer, loadState, onMouseRightClick, onMouseRightReleased, removeAllContainers, RemoveAttachedAnim, RemoveAttachedAnims, removeFromSquare, removeRenderEffect, render, renderAttachedAndOverlaySprites, renderFloorTile, renderFxMask, renderlast, renderObjectPicker, renderWallTile, renderWallTileOnly, replaceItem, reset, reuseGridSquare, save, saveState, sendObjectChange, sendObjectChange, sendObjectChange, Serialize, setAlpha, setAlpha, setAlphaAndTarget, setAlphaAndTarget, setAlphaToTarget, setAttachedAnimSprite, setBlink, setChildSprites, setContainer, setCustomColor, setCustomColor, setDamage, setDefaultCondition, setDir, setDir, setHighlightColor, setHighlightColor, setHighlighted, setHighlighted, setLastRendered, setLastRenderedRendered, setMovedThumpable, setName, SetName, setNoPicking, setOffsetX, setOffsetY, setOutlineHighlight, setOutlineHighlight, setOutlineHighlightCol, setOutlineHighlightCol, setOutlineHighlightCol, setOutlineHighlightCol, setOutlineHlAttached, setOutlineHlAttached, setOutlineHlBlink, setOutlineHlBlink, setOutlineOnMouseover, setOutlineThickness, setOverlaySprite, setOverlaySprite, setOverlaySprite, setOverlaySprite, setOverlaySpriteColor, setPipedFuelAmount, setRenderEffect, setRenderEffect, setRenderYOffset, setRerouteCollide, setRerouteMask, setSpecialTooltip, setSprite, setSquare, setTaintedWater, setTargetAlpha, setTargetAlpha, setType, setUsesExternalWaterSource, setWaterAmount, softReset, transmitCompleteItemToClients, transmitCompleteItemToServer, transmitCustomColor, transmitModData, transmitUpdatedSprite, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToServer, UnCollision, unsetOutlineHighlight, updateAlpha, updateAlpha, updateAlpha, 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
-
isDoorFrame
-
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
-
tempo
-
-
Constructor Details
-
IsoThumpable
-
IsoThumpable
public IsoThumpable(IsoCell cell, IsoGridSquare square, String string, String string2, boolean boolean1, KahluaTable kahluaTable) -
IsoThumpable
public IsoThumpable(IsoCell cell, IsoGridSquare square, 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
- 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
-
getThumpDmg
public int getThumpDmg() -
setBreakSound
-
getBreakSound
-
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
-
setSpriteFromName
- Overrides:
setSpriteFromName
in classIsoObject
-
setClosedSprite
-
setOpenSprite
-
load
- Overrides:
load
in classIsoObject
- Throws:
IOException
-
save
- Overrides:
save
in classIsoObject
- Throws:
IOException
-
isDestroyed
public boolean isDestroyed()- Specified by:
isDestroyed
in interfaceThumpable
- Overrides:
isDestroyed
in classIsoObject
-
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
-
getThumpableFor
- Specified by:
getThumpableFor
in interfaceThumpable
- Overrides:
getThumpableFor
in classIsoObject
-
getThumpCondition
public float getThumpCondition()- Specified by:
getThumpCondition
in interfaceThumpable
- Overrides:
getThumpCondition
in classIsoObject
-
WeaponHit
-
getOtherSideOfDoor
-
ToggleDoorActual
-
ToggleDoor
-
ToggleDoorSilent
public void ToggleDoorSilent() -
isObstructed
public boolean isObstructed() -
haveSheetRope
public boolean haveSheetRope()- Overrides:
haveSheetRope
in classIsoObject
-
countAddSheetRope
public int countAddSheetRope()- Overrides:
countAddSheetRope
in classIsoObject
-
canAddSheetRope
public boolean canAddSheetRope()- Overrides:
canAddSheetRope
in classIsoObject
-
addSheetRope
- Overrides:
addSheetRope
in classIsoObject
-
removeSheetRope
- Overrides:
removeSheetRope
in classIsoObject
-
createLightSource
public void createLightSource(int int1, int int2, int int3, int int4, int int5, 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
-
isBarricadeAllowed
public boolean isBarricadeAllowed()- Specified by:
isBarricadeAllowed
in interfaceBarricadeAble
-
getBarricadeForCharacter
- Specified by:
getBarricadeForCharacter
in interfaceBarricadeAble
-
getBarricadeOppositeCharacter
- Specified by:
getBarricadeOppositeCharacter
in interfaceBarricadeAble
-
setIsDoor
-
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()- Overrides:
isHoppable
in classIsoObject
-
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
-
setLightSourceFuel
-
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, ByteBuffer byteBuffer) - Overrides:
syncIsoObject
in classIsoObject
-
addToWorld
public void addToWorld()- Overrides:
addToWorld
in classIsoObject
-
removeFromWorld
public void removeFromWorld()- Overrides:
removeFromWorld
in classIsoObject
-
saveChange
- Overrides:
saveChange
in classIsoObject
-
loadChange
- Overrides:
loadChange
in classIsoObject
-
HasCurtains
-
getInsideSquare
-
getOppositeSquare
- Specified by:
getOppositeSquare
in interfaceBarricadeAble
-
isAdjacentToSquare
-
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
-
canClimbOver
-
canClimbThrough
-
getThumpSound
-
setThumpSound
-
getRenderEffectMaster
- Overrides:
getRenderEffectMaster
in classIsoObject
-
getSpriteEdge
-