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
int
fuel
Fields inherited from class zombie.iso.IsoObject
alpha, alphaStep, AttachedAnimSprite, AttachedAnimSpriteActual, bmod, bNeverDoneAlpha, container, Damage, dir, 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 IsoGenerator(InventoryItem item, IsoCell cell, IsoGridSquare sq)
IsoGenerator(InventoryItem item, IsoCell cell, IsoGridSquare sq, boolean remote)
IsoGenerator(IsoCell cell)
-
Method Summary
Modifier and Type Method Description void
addToWorld()
static void
chunkLoaded(IsoChunk chunk)
int
getCondition()
int
getFuel()
java.lang.String
getObjectName()
boolean
isActivated()
boolean
isConnected()
void
load(java.nio.ByteBuffer input, int WorldVersion)
void
remove()
void
removeFromWorld()
static void
Reset()
void
save(java.nio.ByteBuffer output)
void
setActivated(boolean activated)
void
setCondition(int condition)
void
setConnected(boolean connected)
void
setFuel(int fuel)
void
setInfoFromItem(InventoryItem item)
void
setSurroundingElectricity()
void
sync(int fuel, int condition, boolean connected, boolean activated)
void
update()
static void
updateSurroundingNow()
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, render, 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
-
Field Details
-
fuel
public int fuel -
activated
public boolean activated -
condition
public int condition -
connected
public boolean connected
-
-
Constructor Details
-
IsoGenerator
-
IsoGenerator
-
IsoGenerator
-
-
Method Details
-
setInfoFromItem
-
update
public void update() -
setSurroundingElectricity
public void setSurroundingElectricity() -
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 -
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 int getFuel() -
setFuel
public void setFuel(int fuel) -
isActivated
public boolean isActivated() -
setActivated
public void setActivated(boolean activated) -
getCondition
public int getCondition() -
setCondition
public void setCondition(int condition) -
isConnected
public boolean isConnected() -
setConnected
public void setConnected(boolean connected) -
sync
public void sync(int fuel, int condition, boolean connected, boolean activated) -
chunkLoaded
-
updateSurroundingNow
public static void updateSurroundingNow() -
Reset
public static void Reset()
-