Package zombie.iso.objects
Class IsoTrap
java.lang.Object
zombie.iso.IsoObject
zombie.iso.objects.IsoTrap
- All Implemented Interfaces:
java.io.Serializable
public class IsoTrap extends IsoObject
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class zombie.iso.IsoObject
IsoObject.VisionResult
-
Field Summary
Fields inherited from class zombie.iso.IsoObject
alpha, alphaStep, AttachedAnimSprite, AttachedAnimSpriteActual, bmod, bNeverDoneAlpha, container, Damage, dir, emitter, externalWaterSource, gmod, highlighted, keyId, lastRendered, lastRenderedRendered, MAX_WALL_SPLATS, name, NoPicking, offsetX, offsetY, OutlineOnMouseover, overlaySprite, overlaySpriteColor, rerouteCollide, rerouteMask, rmod, sheetRope, sheetRopeHealth, sprite, spriteName, square, stCol, sx, sy, table, targetAlpha, tintb, tintg, tintr, usesExternalWaterSource, wallBloodSplats
-
Constructor Summary
Constructors Constructor Description IsoTrap(HandWeapon weapon, IsoCell cell, IsoGridSquare sq)
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
getNoiseRange()
java.lang.String
getObjectName()
int
getRemoteControlID()
int
getSensorRange()
int
getSmokeRange()
int
getTimerBeforeExplosion()
void
load(java.nio.ByteBuffer input, int WorldVersion)
void
render(float x, float y, float z, ColorInfo col, boolean bDoChild)
void
save(java.nio.ByteBuffer output)
void
setCountDownSound(java.lang.String sound)
void
setExplosionPower(int explosionPower)
void
setExplosionRange(int explosionRange)
void
setExplosionSound(java.lang.String explosionSound)
void
setExtraDamage(float extraDamage)
void
setFirePower(int firePower)
void
setFireRange(int fireRange)
void
setNoiseRange(int noiseRange)
void
setRemoteControlID(int remoteControlID)
void
setSensorRange(int sensorRange)
void
setSmokeRange(int smokeRange)
void
setTimerBeforeExplosion(int timerBeforeExplosion)
void
triggerExplosion(boolean sensor)
static void
triggerRemote(IsoPlayer player, int remoteID, int range)
void
update()
Methods inherited from class zombie.iso.IsoObject
addChild, addSecondaryContainer, AttachAnim, AttachExistingAnim, AttachExistingAnim, AttackObject, checkHaveElectricity, createChecksum, createContainersFromSpriteProperties, 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, getFacingPosition, getFacingPositionAlt, getHighlightColor, getIsSurfaceNormalOffset, getItemContainer, getKeyId, getLastRendered, getLastRenderedRendered, getMaskClickedY, getMD5Checksum, getModData, getName, getNew, getObjectIndex, getOffsetX, getOffsetY, getOverlaySprite, getOverlaySpriteColor, getProperties, getRenderYOffset, getRerouteCollide, getRerouteMask, getRerouteMaskObject, getScriptName, getSpecialObjectIndex, getSprite, getSpriteName, getSquare, getStaticMovingObjectIndex, getSurfaceNormalOffset, getSurfaceOffset, getTable, getTargetAlpha, getTextureName, getTile, getType, getUsesExternalWaterSource, getWaterAmount, getWorldObjectIndex, getX, getY, getZ, hasExternalWaterSource, hasModData, HasTooltip, hasWater, haveSpecialTooltip, isBlink, isCharacter, isMaskClicked, isMaskClicked, isNoPicking, isOutlineOnMouseover, isTableSurface, isTableTopObject, isZombie, loadChange, loadFromRemoteBuffer, loadFromRemoteBuffer, onMouseLeftClick, onMouseRightClick, onMouseRightReleased, removeAllContainers, RemoveAttachedAnim, RemoveAttachedAnims, removeFromSquare, removeFromWorld, render, renderlast, renderObjectPicker, replaceItem, reset, reuseGridSquare, saveChange, sendObjectChange, sendObjectChange, sendObjectChange, Serialize, setAlpha, setAlphaStep, setAttachedAnimSprite, setBlink, setChildSprites, setContainer, setCustomColor, setCustomColor, setDamage, setDefaultCondition, setDir, setDir, setHighlightColor, setHighlighted, setKeyId, setLastRendered, setLastRenderedRendered, setName, SetName, setNoPicking, setOffsetX, setOffsetY, setOutlineOnMouseover, setOverlaySprite, setOverlaySprite, setOverlaySprite, setOverlaySpriteColor, setRenderYOffset, setRerouteCollide, setRerouteMask, setSpecialTooltip, setSprite, setSprite, setSpriteFromName, setSquare, setTable, setTargetAlpha, setType, setUsesExternalWaterSource, setWaterAmount, syncIsoObject, syncIsoObjectSend, TestCollide, TestPathfindCollide, TestVision, transmitCompleteItemToClients, transmitCompleteItemToServer, transmitCustomColor, transmitModData, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToServer, useItemOn, useWater, 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 sensor) -
load
public void load(java.nio.ByteBuffer input, int WorldVersion) throws java.io.IOException -
save
public void save(java.nio.ByteBuffer output) throws java.io.IOException -
addToWorld
public void addToWorld()- Overrides:
addToWorld
in classIsoObject
-
getTimerBeforeExplosion
public int getTimerBeforeExplosion() -
setTimerBeforeExplosion
public void setTimerBeforeExplosion(int timerBeforeExplosion) -
getSensorRange
public int getSensorRange() -
setSensorRange
public void setSensorRange(int sensorRange) -
getFireRange
public int getFireRange() -
setFireRange
public void setFireRange(int fireRange) -
getFirePower
public int getFirePower() -
setFirePower
public void setFirePower(int firePower) -
getExplosionPower
public int getExplosionPower() -
setExplosionPower
public void setExplosionPower(int explosionPower) -
getNoiseRange
public int getNoiseRange() -
setNoiseRange
public void setNoiseRange(int noiseRange) -
getExplosionRange
public int getExplosionRange() -
setExplosionRange
public void setExplosionRange(int explosionRange) -
getSmokeRange
public int getSmokeRange() -
setSmokeRange
public void setSmokeRange(int smokeRange) -
getExtraDamage
public float getExtraDamage() -
setExtraDamage
public void setExtraDamage(float extraDamage) -
getObjectName
public java.lang.String getObjectName()- Overrides:
getObjectName
in classIsoObject
-
getRemoteControlID
public int getRemoteControlID() -
setRemoteControlID
public void setRemoteControlID(int remoteControlID) -
getCountDownSound
public java.lang.String getCountDownSound() -
setCountDownSound
public void setCountDownSound(java.lang.String sound) -
getExplosionSound
public java.lang.String getExplosionSound() -
setExplosionSound
public void setExplosionSound(java.lang.String explosionSound) -
getItem
-
triggerRemote
-