Package zombie.iso.objects
Class IsoTrap
java.lang.Object
zombie.iso.IsoObject
zombie.iso.objects.IsoTrap
- All Implemented Interfaces:
java.io.Serializable
,Thumpable
public class IsoTrap extends IsoObject
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IsoTrap.ExplosionMode
Nested classes/interfaces inherited from class zombie.iso.IsoObject
IsoObject.IsoObjectFactory, IsoObject.OutlineShader, IsoObject.VisionResult
-
Field Summary
Fields inherited from class zombie.iso.IsoObject
AttachedAnimSprite, bAlphaForced, bmod, bMovedThumpable, bNeverDoneAlpha, container, Damage, dir, doNotSync, emitter, externalWaterSource, gmod, highlightFlags, isOutlineHighlight, isOutlineHlAttached, isOutlineHlBlink, keyId, 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, table, tintb, tintg, tintr, usesExternalWaterSource, wallBloodSplats, windRenderEffects
-
Constructor Summary
Constructors Constructor Description IsoTrap(HandWeapon handWeapon, IsoCell cell, IsoGridSquare square)
IsoTrap(IsoCell cell)
-
Method Summary
Modifier and Type Method Description void
addToWorld()
java.lang.String
getCountDownSound()
int
getExplosionPower()
int
getExplosionRange()
java.lang.String
getExplosionSound()
float
getExtraDamage()
int
getFirePower()
int
getFireRange()
InventoryItem
getItem()
int
getNoiseDuration()
int
getNoiseRange()
java.lang.String
getObjectName()
int
getRemoteControlID()
int
getSensorRange()
int
getSmokeRange()
int
getTimerBeforeExplosion()
boolean
isInstantExplosion()
void
load(java.nio.ByteBuffer byteBuffer, int int1, boolean boolean1)
void
playExplosionSound()
void
removeFromWorld()
void
render(float float1, float float2, float float3, ColorInfo colorInfo, boolean boolean1, boolean boolean2, Shader shader)
void
save(java.nio.ByteBuffer byteBuffer, boolean boolean1)
void
setCountDownSound(java.lang.String string)
void
setExplosionPower(int int1)
void
setExplosionRange(int int1)
void
setExplosionSound(java.lang.String string)
void
setExtraDamage(float float1)
void
setFirePower(int int1)
void
setFireRange(int int1)
void
setNoiseDuration(int int1)
void
setNoiseRange(int int1)
void
setRemoteControlID(int int1)
void
setSensorRange(int int1)
void
setSmokeRange(int int1)
void
setTimerBeforeExplosion(int int1)
void
triggerExplosion(boolean boolean1)
static void
triggerRemote(IsoPlayer player, int int1, int int2)
void
update()
Methods inherited from class zombie.iso.IsoObject
addChild, addItemsFromProperties, addSecondaryContainer, addSheetRope, AttachAnim, AttachExistingAnim, AttachExistingAnim, AttackObject, canAddSheetRope, checkHaveElectricity, checkMoveWithWind, checkMoveWithWind, cleanWallBlood, clearAttachedAnimSprite, Collision, countAddSheetRope, 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, getContainer, getContainerByEitherType, getContainerByIndex, getContainerByType, getContainerCount, getContainerIndex, getCustomColor, getDamage, getDir, getFacingPosition, getFacingPositionAlt, getFactoryVehicle, getHighlightColor, getIsSurfaceNormalOffset, getItemContainer, getKeyId, getLastRendered, getLastRenderedRendered, getMaskClickedY, getModData, getMovingObjectIndex, getName, getNew, getNew, getObjectIndex, getObjectRenderEffects, getObjectRenderEffectsToApply, getOffsetX, getOffsetY, getOutlineHighlightCol, getOutlineHighlightCol, getOutlineThickness, getOverlaySprite, getOverlaySpriteColor, getPipedFuelAmount, getProperties, getRenderEffectMaster, getRenderYOffset, getRerouteCollide, getRerouteMask, getRerouteMaskObject, getScriptName, getSpecialObjectIndex, getSprite, getSpriteGridObjects, getSpriteName, getSquare, getStaticMovingObjectIndex, getSurfaceNormalOffset, getSurfaceOffset, getSurfaceOffsetNoTable, getTable, getTargetAlpha, getTargetAlpha, getTextureName, getThumpableFor, getThumpCondition, getTile, getType, getUsesExternalWaterSource, GetVehicleSlowFactor, getWaterAmount, getWaterMax, getWindRenderEffects, getWorldObjectIndex, getX, getY, getZ, hasExternalWaterSource, hasModData, HasTooltip, hasWater, haveSheetRope, haveSpecialTooltip, Hit, HitByVehicle, isAlphaAndTargetZero, isAlphaAndTargetZero, isAlphaZero, isAlphaZero, isBlink, isCharacter, isDestroyed, isExistInTheWorld, isHighlighted, isHoppable, 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, loadChange, loadFromRemoteBuffer, loadFromRemoteBuffer, loadState, onMouseLeftClick, onMouseRightClick, onMouseRightReleased, removeAllContainers, RemoveAttachedAnim, RemoveAttachedAnims, removeFromSquare, removeRenderEffect, removeSheetRope, renderAttachedAndOverlaySprites, renderFloorTile, renderFxMask, renderlast, renderObjectPicker, renderWallTile, renderWallTileOnly, replaceItem, reset, reuseGridSquare, save, saveChange, saveState, sendObjectChange, sendObjectChange, sendObjectChange, Serialize, setAlpha, setAlpha, setAlphaAndTarget, setAlphaAndTarget, setAlphaToTarget, setAttachedAnimSprite, setBlink, setChildSprites, setContainer, setCustomColor, setCustomColor, setDamage, setDefaultCondition, setDir, setDir, setHighlightColor, setHighlightColor, setHighlighted, setHighlighted, setKeyId, 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, setSprite, setSpriteFromName, setSquare, setTable, setTaintedWater, setTargetAlpha, setTargetAlpha, setType, setUsesExternalWaterSource, setWaterAmount, softReset, syncIsoObject, syncIsoObjectSend, TestCollide, TestPathfindCollide, TestVision, Thump, transmitCompleteItemToClients, transmitCompleteItemToServer, transmitCustomColor, transmitModData, transmitUpdatedSprite, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToServer, UnCollision, unsetOutlineHighlight, updateAlpha, updateAlpha, updateAlpha, useItemOn, useWater, WeaponHit, writeToRemoteBuffer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
IsoTrap
-
IsoTrap
-
-
Method Details
-
update
public void update() -
render
-
triggerExplosion
public void triggerExplosion(boolean boolean1) -
playExplosionSound
public void playExplosionSound() -
load
public void load(java.nio.ByteBuffer byteBuffer, int int1, boolean boolean1) throws java.io.IOException -
save
public void save(java.nio.ByteBuffer byteBuffer, boolean boolean1) throws java.io.IOException -
addToWorld
public void addToWorld()- Overrides:
addToWorld
in classIsoObject
-
removeFromWorld
public void removeFromWorld()- Overrides:
removeFromWorld
in classIsoObject
-
getTimerBeforeExplosion
public int getTimerBeforeExplosion() -
setTimerBeforeExplosion
public void setTimerBeforeExplosion(int int1) -
getSensorRange
public int getSensorRange() -
setSensorRange
public void setSensorRange(int int1) -
getFireRange
public int getFireRange() -
setFireRange
public void setFireRange(int int1) -
getFirePower
public int getFirePower() -
setFirePower
public void setFirePower(int int1) -
getExplosionPower
public int getExplosionPower() -
setExplosionPower
public void setExplosionPower(int int1) -
getNoiseDuration
public int getNoiseDuration() -
setNoiseDuration
public void setNoiseDuration(int int1) -
getNoiseRange
public int getNoiseRange() -
setNoiseRange
public void setNoiseRange(int int1) -
getExplosionRange
public int getExplosionRange() -
setExplosionRange
public void setExplosionRange(int int1) -
getSmokeRange
public int getSmokeRange() -
setSmokeRange
public void setSmokeRange(int int1) -
getExtraDamage
public float getExtraDamage() -
setExtraDamage
public void setExtraDamage(float float1) -
getObjectName
public java.lang.String getObjectName()- Overrides:
getObjectName
in classIsoObject
-
getRemoteControlID
public int getRemoteControlID() -
setRemoteControlID
public void setRemoteControlID(int int1) -
getCountDownSound
public java.lang.String getCountDownSound() -
setCountDownSound
public void setCountDownSound(java.lang.String string) -
getExplosionSound
public java.lang.String getExplosionSound() -
setExplosionSound
public void setExplosionSound(java.lang.String string) -
getItem
-
triggerRemote
-
isInstantExplosion
public boolean isInstantExplosion()
-