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
FieldsModifier and TypeFieldDescriptionbooleanintintbooleanintbooleanintbooleanintbooleanintintstatic final Vector2Fields 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
ConstructorsConstructorDescriptionIsoThumpable(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 TypeMethodDescriptionvoidaddSheet(IsoGameCharacter gameCharacter) booleanaddSheetRope(IsoPlayer player, String string) voidbooleanbooleanbooleanbooleancanClimbOver(IsoGameCharacter gameCharacter) booleancanClimbThrough(IsoGameCharacter gameCharacter) intvoidcreateLightSource(int int1, int int2, int int3, int int4, int int5, String string, InventoryItem inventoryItem, IsoGameCharacter gameCharacter) voiddestroy()getAddSheetSquare(IsoGameCharacter gameCharacter) getBarricadeForCharacter(IsoGameCharacter gameCharacter) getBarricadeOppositeCharacter(IsoGameCharacter gameCharacter) booleanfloatgetFacingPosition(Vector2 vector2) intintgetKeyId()floatfloatintintintintintintbooleangetNorth()getOtherSideOfDoor(IsoGameCharacter gameCharacter) getSpriteEdge(boolean boolean1) getTable()getThumpableFor(IsoGameCharacter gameCharacter) floatintbooleanbooleanhaveFuel()booleaninsertNewFuel(InventoryItem inventoryItem, IsoGameCharacter gameCharacter) booleanisAdjacentToSquare(IsoGridSquare square) booleanbooleanbooleanbooleanbooleanisCorner()booleanbooleanbooleanisDoor()booleanbooleanisFloor()booleanbooleanbooleanisLocked()booleanbooleanbooleanisLockedToCharacter(IsoGameCharacter gameCharacter) booleanbooleanIsOpen()booleanbooleanisStairs()booleanbooleanbooleanisWindow()voidload(ByteBuffer byteBuffer, int int1, boolean boolean1) voidloadChange(String string, ByteBuffer byteBuffer) booleanonMouseLeftClick(int int1, int int2) removeCurrentFuel(IsoGameCharacter gameCharacter) voidbooleanremoveSheetRope(IsoPlayer player) voidsave(ByteBuffer byteBuffer, boolean boolean1) voidsaveChange(String string, KahluaTable kahluaTable, ByteBuffer byteBuffer) voidsetBlockAllTheSquare(boolean boolean1) voidsetBreakSound(String string) voidsetCanBarricade(boolean boolean1) voidsetCanBeLockByPadlock(boolean boolean1) voidsetCanBePlastered(boolean boolean1) voidsetCanPassThrough(boolean boolean1) voidsetClosedSprite(IsoSprite sprite) voidsetCorner(boolean boolean1) voidsetCrossSpeed(float float1) voidsetHaveFuel(boolean boolean1) voidsetHealth(int int1) voidsetHoppable(boolean boolean1) voidsetIsContainer(boolean boolean1) voidsetIsDismantable(boolean boolean1) voidsetIsDoor(boolean boolean1) voidvoidsetIsDoorFrame(boolean boolean1) voidsetIsFloor(boolean boolean1) voidsetIsHoppable(boolean boolean1) voidsetIsLocked(boolean boolean1) voidsetIsStairs(boolean boolean1) voidsetIsThumpable(boolean boolean1) voidsetKeyId(int int1) voidsetKeyId(int int1, boolean boolean1) voidsetLifeDelta(float float1) voidsetLifeLeft(float float1) voidsetLightSource(IsoLightSource lightSource) voidsetLightSourceFuel(String string) voidsetLightSourceLife(int int1) voidsetLightSourceOn(boolean boolean1) voidsetLightSourceRadius(int int1) voidsetLightSourceXOffset(int int1) voidsetLightSourceYOffset(int int1) voidsetLockedByCode(int int1) voidsetLockedByKey(boolean boolean1) voidsetLockedByPadlock(boolean boolean1) voidsetMaxHealth(int int1) voidsetModData(KahluaTable kahluaTable) voidsetOpenSprite(IsoSprite sprite) voidsetPaintable(boolean boolean1) voidvoidsetSpriteFromName(String string) voidsetTable(KahluaTable kahluaTable) voidsetThumpDmg(Integer integer) voidsetThumpSound(String string) voidsyncIsoObject(boolean boolean1, byte byte1, UdpConnection udpConnection, ByteBuffer byteBuffer) voidsyncIsoObjectSend(ByteBufferWriter byteBufferWriter) voidbooleanTestCollide(IsoMovingObject movingObject, IsoGridSquare square, IsoGridSquare square2) booleanTestPathfindCollide(IsoMovingObject movingObject, IsoGridSquare square, IsoGridSquare square2) TestVision(IsoGridSquare square, IsoGridSquare square2) voidThump(IsoMovingObject movingObject) voidToggleDoor(IsoGameCharacter gameCharacter) voidToggleDoorActual(IsoGameCharacter gameCharacter) voidvoidtoggleLightSource(boolean boolean1) voidupdate()voidWeaponHit(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, writeToRemoteBufferMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getModDatain classIsoObject
-
setModData
-
hasModData
public boolean hasModData()- Overrides:
hasModDatain 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:
getObjectNamein 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:
getNorthin interfaceBarricadeAble
-
getFacingPosition
- Overrides:
getFacingPositionin classIsoObject
-
isDoorFrame
public boolean isDoorFrame() -
setIsDoor
public void setIsDoor(boolean boolean1) -
setIsDoorFrame
public void setIsDoorFrame(boolean boolean1) -
setSprite
-
setSpriteFromName
- Overrides:
setSpriteFromNamein classIsoObject
-
setClosedSprite
-
setOpenSprite
-
load
- Overrides:
loadin classIsoObject- Throws:
IOException
-
save
- Overrides:
savein classIsoObject- Throws:
IOException
-
isDestroyed
public boolean isDestroyed()- Specified by:
isDestroyedin interfaceThumpable- Overrides:
isDestroyedin classIsoObject
-
IsOpen
public boolean IsOpen() -
IsStrengthenedByPushedItems
public boolean IsStrengthenedByPushedItems() -
onMouseLeftClick
public boolean onMouseLeftClick(int int1, int int2) - Overrides:
onMouseLeftClickin classIsoObject
-
TestPathfindCollide
public boolean TestPathfindCollide(IsoMovingObject movingObject, IsoGridSquare square, IsoGridSquare square2) - Overrides:
TestPathfindCollidein classIsoObject
-
TestCollide
public boolean TestCollide(IsoMovingObject movingObject, IsoGridSquare square, IsoGridSquare square2) - Overrides:
TestCollidein classIsoObject
-
TestVision
- Overrides:
TestVisionin classIsoObject
-
Thump
-
getThumpableFor
- Specified by:
getThumpableForin interfaceThumpable- Overrides:
getThumpableForin classIsoObject
-
getThumpCondition
public float getThumpCondition()- Specified by:
getThumpConditionin interfaceThumpable- Overrides:
getThumpConditionin classIsoObject
-
WeaponHit
-
getOtherSideOfDoor
-
ToggleDoorActual
-
ToggleDoor
-
ToggleDoorSilent
public void ToggleDoorSilent() -
isObstructed
public boolean isObstructed() -
haveSheetRope
public boolean haveSheetRope()- Overrides:
haveSheetRopein classIsoObject
-
countAddSheetRope
public int countAddSheetRope()- Overrides:
countAddSheetRopein classIsoObject
-
canAddSheetRope
public boolean canAddSheetRope()- Overrides:
canAddSheetRopein classIsoObject
-
addSheetRope
- Overrides:
addSheetRopein classIsoObject
-
removeSheetRope
- Overrides:
removeSheetRopein 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:
getBarricadeOnSameSquarein interfaceBarricadeAble
-
getBarricadeOnOppositeSquare
- Specified by:
getBarricadeOnOppositeSquarein interfaceBarricadeAble
-
isBarricaded
public boolean isBarricaded()- Specified by:
isBarricadedin interfaceBarricadeAble
-
isBarricadeAllowed
public boolean isBarricadeAllowed()- Specified by:
isBarricadeAllowedin interfaceBarricadeAble
-
getBarricadeForCharacter
- Specified by:
getBarricadeForCharacterin interfaceBarricadeAble
-
getBarricadeOppositeCharacter
- Specified by:
getBarricadeOppositeCharacterin 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:
isHoppablein 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:
syncIsoObjectSendin classIsoObject
-
syncIsoObject
public void syncIsoObject(boolean boolean1, byte byte1, UdpConnection udpConnection, ByteBuffer byteBuffer) - Overrides:
syncIsoObjectin classIsoObject
-
addToWorld
public void addToWorld()- Overrides:
addToWorldin classIsoObject
-
removeFromWorld
public void removeFromWorld()- Overrides:
removeFromWorldin classIsoObject
-
saveChange
- Overrides:
saveChangein classIsoObject
-
loadChange
- Overrides:
loadChangein classIsoObject
-
HasCurtains
-
getInsideSquare
-
getOppositeSquare
- Specified by:
getOppositeSquarein 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:
getRenderEffectMasterin classIsoObject
-
getSpriteEdge
-