Package zombie.iso.objects
Class IsoFireplace
java.lang.Object
zombie.iso.IsoObject
zombie.iso.objects.IsoFireplace
- All Implemented Interfaces:
java.io.Serializable
public class IsoFireplace 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 protected int
FireSpriteIndex
protected IsoSprite
FuelSprite
protected int
FuelSpriteIndex
protected IsoHeatSource
heatSource
protected float
LastUpdateTime
protected IsoLightSource
LightSource
protected float
MinuteAccumulator
protected int
MinutesSinceExtinguished
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 IsoFireplace(IsoCell cell)
IsoFireplace(IsoCell cell, IsoGridSquare square, IsoSprite sprite)
-
Method Summary
Modifier and Type Method Description void
addFuel(int int1)
void
addToWorld()
void
extinguish()
int
getFuelAmount()
java.lang.String
getObjectName()
float
getTemperature()
boolean
hasFuel()
boolean
isLit()
void
load(java.nio.ByteBuffer byteBuffer, int int1)
void
loadChange(java.lang.String string, java.nio.ByteBuffer byteBuffer)
void
removeFromWorld()
void
render(float float1, float float2, float float3, ColorInfo colorInfo, boolean boolean1)
void
save(java.nio.ByteBuffer byteBuffer)
void
saveChange(java.lang.String string, KahluaTable kahluaTable, java.nio.ByteBuffer byteBuffer)
void
setFuelAmount(int int1)
void
setLit(boolean boolean1)
void
update()
int
useFuel(int int1)
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, loadFromRemoteBuffer, loadFromRemoteBuffer, loadState, onMouseLeftClick, onMouseRightClick, onMouseRightReleased, removeAllContainers, RemoveAttachedAnim, RemoveAttachedAnims, removeFromSquare, removeRenderEffect, render, renderFxMask, renderlast, renderObjectPicker, replaceItem, reset, reuseGridSquare, revisionUp, 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, 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
-
Field Details
-
LastUpdateTime
protected float LastUpdateTime -
MinuteAccumulator
protected float MinuteAccumulator -
MinutesSinceExtinguished
protected int MinutesSinceExtinguished -
FuelSprite
-
FuelSpriteIndex
protected int FuelSpriteIndex -
FireSpriteIndex
protected int FireSpriteIndex -
LightSource
-
heatSource
-
-
Constructor Details
-
IsoFireplace
-
IsoFireplace
-
-
Method Details
-
getObjectName
public java.lang.String getObjectName()- Overrides:
getObjectName
in classIsoObject
-
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 -
setFuelAmount
public void setFuelAmount(int int1) -
getFuelAmount
public int getFuelAmount() -
addFuel
public void addFuel(int int1) -
useFuel
public int useFuel(int int1) -
hasFuel
public boolean hasFuel() -
setLit
public void setLit(boolean boolean1) -
isLit
public boolean isLit() -
extinguish
public void extinguish() -
getTemperature
public float getTemperature() -
update
public void update() -
addToWorld
public void addToWorld()- Overrides:
addToWorld
in classIsoObject
-
removeFromWorld
public void removeFromWorld()- Overrides:
removeFromWorld
in classIsoObject
-
render
public void render(float float1, float float2, float float3, ColorInfo colorInfo, boolean boolean1) -
saveChange
public void saveChange(java.lang.String string, KahluaTable kahluaTable, java.nio.ByteBuffer byteBuffer)- Overrides:
saveChange
in classIsoObject
-
loadChange
public void loadChange(java.lang.String string, java.nio.ByteBuffer byteBuffer)- Overrides:
loadChange
in classIsoObject
-