Package zombie.iso.objects
Class BSFurnace
java.lang.Object
zombie.iso.IsoObject
zombie.iso.objects.BSFurnace
- All Implemented Interfaces:
java.io.Serializable
public class BSFurnace 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
fireStarted
float
fuelAmount
float
fuelDecrease
float
heat
float
heatDecrease
float
heatIncrease
java.lang.String
sLitSprite
java.lang.String
sSprite
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 BSFurnace(IsoCell cell)
BSFurnace(IsoCell cell, IsoGridSquare sq, java.lang.String sprite, java.lang.String litSprite)
-
Method Summary
Modifier and Type Method Description void
addFuel(float amount)
void
addToWorld()
float
getFuelAmount()
float
getFuelDecrease()
float
getHeat()
float
getHeatDecrease()
float
getHeatIncrease()
int
getMeltingSkill(InventoryItem meltItem)
java.lang.String
getObjectName()
boolean
isFireStarted()
void
load(java.nio.ByteBuffer input, int WorldVersion)
void
removeFromWorld()
void
save(java.nio.ByteBuffer output)
void
setFireStarted(boolean fireStarted)
void
setFuelAmount(float amount)
void
setFuelDecrease(float fuelDecrease)
void
setHeat(float heat)
void
setHeatDecrease(float heatDecrease)
void
setHeatIncrease(float heatIncrease)
void
syncFurnace()
void
update()
void
updateLight()
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
-
heat
public float heat -
heatDecrease
public float heatDecrease -
heatIncrease
public float heatIncrease -
fuelAmount
public float fuelAmount -
fuelDecrease
public float fuelDecrease -
fireStarted
public boolean fireStarted -
sSprite
public java.lang.String sSprite -
sLitSprite
public java.lang.String sLitSprite
-
-
Constructor Details
-
BSFurnace
-
BSFurnace
public BSFurnace(IsoCell cell, IsoGridSquare sq, java.lang.String sprite, java.lang.String litSprite)
-
-
Method Details
-
update
public void update() -
getMeltingSkill
-
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 -
getObjectName
public java.lang.String getObjectName()- Overrides:
getObjectName
in classIsoObject
-
getHeat
public float getHeat() -
setHeat
public void setHeat(float heat) -
isFireStarted
public boolean isFireStarted() -
updateLight
public void updateLight() -
setFireStarted
public void setFireStarted(boolean fireStarted) -
syncFurnace
public void syncFurnace() -
getFuelAmount
public float getFuelAmount() -
setFuelAmount
public void setFuelAmount(float amount) -
addFuel
public void addFuel(float amount) -
addToWorld
public void addToWorld()- Overrides:
addToWorld
in classIsoObject
-
removeFromWorld
public void removeFromWorld()- Overrides:
removeFromWorld
in classIsoObject
-
getFuelDecrease
public float getFuelDecrease() -
setFuelDecrease
public void setFuelDecrease(float fuelDecrease) -
getHeatDecrease
public float getHeatDecrease() -
setHeatDecrease
public void setHeatDecrease(float heatDecrease) -
getHeatIncrease
public float getHeatIncrease() -
setHeatIncrease
public void setHeatIncrease(float heatIncrease)
-