Package zombie.iso.objects
Class IsoGenerator
java.lang.Object
zombie.iso.IsoObject
zombie.iso.objects.IsoGenerator
- All Implemented Interfaces:
java.io.Serializable
public class IsoGenerator extends IsoObject
- 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 boolean
activated
int
condition
boolean
connected
float
fuel
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 IsoGenerator(InventoryItem inventoryItem, IsoCell cell, IsoGridSquare square)
IsoGenerator(InventoryItem inventoryItem, IsoCell cell, IsoGridSquare square, boolean boolean1)
IsoGenerator(IsoCell cell)
-
Method Summary
Modifier and Type Method Description void
addToWorld()
static void
chunkLoaded(IsoChunk chunk)
void
failToStart()
int
getCondition()
float
getFuel()
java.lang.String
getObjectName()
boolean
isActivated()
boolean
isConnected()
static boolean
isPoweringSquare(int int1, int int2, int int3, int int4, int int5, int int6)
void
load(java.nio.ByteBuffer byteBuffer, int int1)
void
remove()
void
removeFromWorld()
static void
Reset()
void
save(java.nio.ByteBuffer byteBuffer)
void
setActivated(boolean boolean1)
void
setCondition(int int1)
void
setConnected(boolean boolean1)
void
setFuel(float float1)
void
setInfoFromItem(InventoryItem inventoryItem)
void
setSurroundingElectricity()
void
sync(float float1, int int1, boolean boolean1, boolean boolean2)
void
syncIsoObject(boolean boolean1, byte byte1, UdpConnection udpConnection, java.nio.ByteBuffer byteBuffer)
void
syncIsoObjectSend(ByteBufferWriter byteBufferWriter)
void
update()
static void
updateSurroundingNow()
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, 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, loadState, onMouseLeftClick, onMouseRightClick, onMouseRightReleased, removeAllContainers, RemoveAttachedAnim, RemoveAttachedAnims, removeFromSquare, removeRenderEffect, render, render, renderFxMask, renderlast, renderObjectPicker, replaceItem, reset, reuseGridSquare, revisionUp, saveChange, saveState, 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, 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
-
Field Details
-
fuel
public float fuel -
activated
public boolean activated -
condition
public int condition -
connected
public boolean connected
-
-
Constructor Details
-
IsoGenerator
-
IsoGenerator
-
IsoGenerator
public IsoGenerator(InventoryItem inventoryItem, IsoCell cell, IsoGridSquare square, boolean boolean1)
-
-
Method Details
-
setInfoFromItem
-
update
public void update() -
setSurroundingElectricity
public void setSurroundingElectricity() -
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 -
remove
public void remove() -
addToWorld
public void addToWorld()- Overrides:
addToWorld
in classIsoObject
-
removeFromWorld
public void removeFromWorld()- Overrides:
removeFromWorld
in classIsoObject
-
getObjectName
public java.lang.String getObjectName()- Overrides:
getObjectName
in classIsoObject
-
getFuel
public float getFuel() -
setFuel
public void setFuel(float float1) -
isActivated
public boolean isActivated() -
setActivated
public void setActivated(boolean boolean1) -
failToStart
public void failToStart() -
getCondition
public int getCondition() -
setCondition
public void setCondition(int int1) -
isConnected
public boolean isConnected() -
setConnected
public void setConnected(boolean boolean1) -
syncIsoObjectSend
- Overrides:
syncIsoObjectSend
in classIsoObject
-
syncIsoObject
public void syncIsoObject(boolean boolean1, byte byte1, UdpConnection udpConnection, java.nio.ByteBuffer byteBuffer)- Overrides:
syncIsoObject
in classIsoObject
-
sync
public void sync(float float1, int int1, boolean boolean1, boolean boolean2) -
chunkLoaded
-
updateSurroundingNow
public static void updateSurroundingNow() -
Reset
public static void Reset() -
isPoweringSquare
public static boolean isPoweringSquare(int int1, int int2, int int3, int int4, int int5, int int6)
-