Package zombie.iso.objects
Class IsoWaveSignal
java.lang.Object
zombie.iso.IsoObject
zombie.iso.objects.IsoWaveSignal
- All Implemented Interfaces:
java.io.Serializable
,Talker
,ChatElementOwner
,WaveSignalDevice
- Direct Known Subclasses:
IsoRadio
,IsoTelevision
public class IsoWaveSignal extends IsoObject implements WaveSignalDevice, ChatElementOwner, Talker
- 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 protected ChatElement
chatElement
protected DeviceData
deviceData
protected static java.util.Map
deviceDataCache
protected boolean
displayRange
protected GameTime
gameTime
protected boolean
hasPlayerInRange
protected IsoLightSource
lightSource
protected int
lightSourceRadius
protected float
lightUpdateCnt
protected boolean
lightWasRemoved
protected float
nextLightUpdate
protected java.lang.String
talkerType
Fields inherited from class zombie.iso.IsoObject
alpha, alphaStep, AttachedAnimSprite, AttachedAnimSpriteActual, bmod, bNeverDoneAlpha, container, Damage, dir, doNotSync, emitter, externalWaterSource, gmod, highlightFlags, keyId, lastRendered, lastRenderedRendered, LowLightingQualityHack, MAX_WALL_SPLATS, name, NoPicking, OBF_Blink, OBF_Highlighted, OBF_HighlightRenderOnce, objectRenderEffects, offsetX, offsetY, OutlineOnMouseover, overlaySprite, overlaySpriteColor, rerouteCollide, rerouteMask, rmod, sheetRope, sheetRopeHealth, sprite, spriteName, square, stCol, sx, sy, table, targetAlpha, tintb, tintg, tintr, usesExternalWaterSource, wallBloodSplats, windRenderEffects
-
Constructor Summary
Constructors Constructor Description IsoWaveSignal(IsoCell cell)
IsoWaveSignal(IsoCell cell, IsoGridSquare square, IsoSprite sprite)
-
Method Summary
Modifier and Type Method Description void
AddDeviceText(java.lang.String string, float float1, float float2, float float3, java.lang.String string2, int int1)
void
AddDeviceText(java.lang.String string, float float1, float float2, float float3, java.lang.String string2, int int1, boolean boolean1)
void
AddDeviceText(java.lang.String string, int int1, int int2, int int3, java.lang.String string2, int int4)
void
AddDeviceText(java.lang.String string, int int1, int int2, int int3, java.lang.String string2, int int4, boolean boolean1)
void
addToWorld()
DeviceData
cloneDeviceDataFromItem(java.lang.String string)
float
getDelta()
DeviceData
getDeviceData()
java.lang.String
getSayLine()
java.lang.String
getTalkerType()
boolean
hasChatToDisplay()
boolean
HasPlayerInRange()
protected void
init(boolean boolean1)
boolean
IsSpeaking()
void
load(java.nio.ByteBuffer byteBuffer, int int1)
void
loadState(java.nio.ByteBuffer byteBuffer)
protected boolean
playerWithinBounds(IsoPlayer player, float float1)
void
removeFromSquare()
void
removeFromWorld()
protected void
removeLightSourceFromWorld()
void
renderlast()
void
renderlastold2()
void
save(java.nio.ByteBuffer byteBuffer)
void
saveState(java.nio.ByteBuffer byteBuffer)
void
Say(java.lang.String string)
void
setDelta(float float1)
void
setDeviceData(DeviceData deviceData)
void
setTalkerType(java.lang.String string)
void
update()
protected void
updateLightSource()
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, getFacingPosition, getFacingPositionAlt, getHighlightColor, getIsSurfaceNormalOffset, getItemContainer, getKeyId, getLastRendered, getLastRenderedRendered, getMaskClickedY, getMD5Checksum, getModData, getMovingObjectIndex, getName, getNew, getNew, getObjectIndex, getObjectName, getObjectRenderEffects, getObjectRenderEffectsToApply, getOffsetX, getOffsetY, getOverlaySprite, getOverlaySpriteColor, getProperties, getRenderYOffset, getRerouteCollide, getRerouteMask, getRerouteMaskObject, getScriptName, getSpecialObjectIndex, getSprite, getSpriteName, getSquare, getStaticMovingObjectIndex, getSurfaceNormalOffset, getSurfaceOffset, getTable, getTargetAlpha, getTextureName, getTile, getType, getUsesExternalWaterSource, GetVehicleSlowFactor, getWaterAmount, getWindRenderEffects, getWorldObjectIndex, getX, getY, getZ, hasExternalWaterSource, hasModData, HasTooltip, hasWater, haveSpecialTooltip, Hit, isBlink, isCharacter, isHighlighted, isMaskClicked, isMaskClicked, isNoPicking, isOutlineOnMouseover, isStairsNorth, isStairsObject, isStairsWest, isTableSurface, isTableTopObject, isTaintedWater, isZombie, loadChange, loadFromRemoteBuffer, loadFromRemoteBuffer, onMouseLeftClick, onMouseRightClick, onMouseRightReleased, removeAllContainers, RemoveAttachedAnim, RemoveAttachedAnims, removeRenderEffect, render, render, renderFxMask, renderObjectPicker, replaceItem, reset, reuseGridSquare, revisionUp, saveChange, sendObjectChange, sendObjectChange, sendObjectChange, Serialize, setAlpha, setAlphaStep, setAttachedAnimSprite, setBlink, setChildSprites, setContainer, setCustomColor, setCustomColor, setDamage, setDefaultCondition, setDir, setDir, setHighlightColor, setHighlightColor, setHighlighted, setHighlighted, setKeyId, setLastRendered, setLastRenderedRendered, setName, SetName, setNoPicking, setOffsetX, setOffsetY, setOutlineOnMouseover, setOverlaySprite, setOverlaySprite, setOverlaySprite, setOverlaySpriteColor, setRenderEffect, setRenderEffect, setRenderYOffset, setRerouteCollide, setRerouteMask, setSpecialTooltip, setSprite, setSprite, setSpriteFromName, setSquare, setTable, setTaintedWater, setTargetAlpha, setType, setUsesExternalWaterSource, setWaterAmount, softReset, syncIsoObject, syncIsoObjectSend, TestCollide, TestPathfindCollide, TestVision, 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.chat.ChatElementOwner
getSquare, getX, getY, getZ
Methods inherited from interface zombie.radio.devices.WaveSignalDevice
getSquare, getX, getY, getZ
-
Field Details
-
lightSource
-
lightWasRemoved
protected boolean lightWasRemoved -
lightSourceRadius
protected int lightSourceRadius -
nextLightUpdate
protected float nextLightUpdate -
lightUpdateCnt
protected float lightUpdateCnt -
deviceData
-
displayRange
protected boolean displayRange -
hasPlayerInRange
protected boolean hasPlayerInRange -
gameTime
-
chatElement
-
talkerType
protected java.lang.String talkerType -
deviceDataCache
protected static java.util.Map deviceDataCache
-
-
Constructor Details
-
IsoWaveSignal
-
IsoWaveSignal
-
-
Method Details
-
init
protected void init(boolean boolean1) -
cloneDeviceDataFromItem
-
hasChatToDisplay
public boolean hasChatToDisplay() -
HasPlayerInRange
public boolean HasPlayerInRange()- Specified by:
HasPlayerInRange
in interfaceWaveSignalDevice
-
getDelta
public float getDelta()- Specified by:
getDelta
in interfaceWaveSignalDevice
-
setDelta
public void setDelta(float float1)- Specified by:
setDelta
in interfaceWaveSignalDevice
-
getDeviceData
- Specified by:
getDeviceData
in interfaceWaveSignalDevice
-
setDeviceData
- Specified by:
setDeviceData
in interfaceWaveSignalDevice
-
IsSpeaking
public boolean IsSpeaking()- Specified by:
IsSpeaking
in interfaceTalker
-
getTalkerType
public java.lang.String getTalkerType()- Specified by:
getTalkerType
in interfaceTalker
-
setTalkerType
public void setTalkerType(java.lang.String string) -
getSayLine
public java.lang.String getSayLine()- Specified by:
getSayLine
in interfaceTalker
-
Say
public void Say(java.lang.String string) -
AddDeviceText
public void AddDeviceText(java.lang.String string, float float1, float float2, float float3, java.lang.String string2, int int1)- Specified by:
AddDeviceText
in interfaceWaveSignalDevice
-
AddDeviceText
public void AddDeviceText(java.lang.String string, int int1, int int2, int int3, java.lang.String string2, int int4) -
AddDeviceText
public void AddDeviceText(java.lang.String string, int int1, int int2, int int3, java.lang.String string2, int int4, boolean boolean1) -
AddDeviceText
public void AddDeviceText(java.lang.String string, float float1, float float2, float float3, java.lang.String string2, int int1, boolean boolean1) -
renderlast
public void renderlast()- Overrides:
renderlast
in classIsoObject
-
renderlastold2
public void renderlastold2() -
playerWithinBounds
-
update
public void update() -
updateLightSource
protected void updateLightSource() -
removeLightSourceFromWorld
protected void removeLightSourceFromWorld() -
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 -
addToWorld
public void addToWorld()- Overrides:
addToWorld
in classIsoObject
-
removeFromWorld
public void removeFromWorld()- Overrides:
removeFromWorld
in classIsoObject
-
removeFromSquare
public void removeFromSquare()- Overrides:
removeFromSquare
in classIsoObject
-
saveState
public void saveState(java.nio.ByteBuffer byteBuffer) -
loadState
public void loadState(java.nio.ByteBuffer byteBuffer)
-