Package zombie.iso.objects
Class IsoBarbecue
java.lang.Object
zombie.iso.IsoObject
zombie.iso.objects.IsoBarbecue
- All Implemented Interfaces:
java.io.Serializable
,Thumpable
public class IsoBarbecue extends IsoObject
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class zombie.iso.IsoObject
IsoObject.IsoObjectFactory, IsoObject.OutlineShader, IsoObject.VisionResult
-
Field Summary
Fields Modifier and Type Field Description protected float
LastUpdateTime
protected float
MinuteAccumulator
protected int
MinutesSinceExtinguished
Fields inherited from class zombie.iso.IsoObject
AttachedAnimSprite, bAlphaForced, bmod, bMovedThumpable, bNeverDoneAlpha, container, Damage, dir, doNotSync, emitter, externalWaterSource, gmod, highlightFlags, isOutlineHighlight, isOutlineHlAttached, isOutlineHlBlink, keyId, lastRendered, lastRenderedRendered, LowLightingQualityHack, MAX_WALL_SPLATS, name, NoPicking, OBF_Blink, OBF_Highlighted, OBF_HighlightRenderOnce, objectRenderEffects, offsetX, offsetY, outlineHighlightCol, OutlineOnMouseover, overlaySprite, overlaySpriteColor, partialThumpDmg, rerouteCollide, rerouteMask, rmod, sheetRope, sheetRopeHealth, sprite, spriteName, square, sx, sy, table, tintb, tintg, tintr, usesExternalWaterSource, wallBloodSplats, windRenderEffects
-
Constructor Summary
Constructors Constructor Description IsoBarbecue(IsoCell cell)
IsoBarbecue(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
hasPropaneTank()
boolean
isLit()
boolean
isPropaneBBQ()
boolean
isSmouldering()
static boolean
isSpriteWithoutPropaneTank(IsoSprite sprite)
static boolean
isSpriteWithPropaneTank(IsoSprite sprite)
void
load(java.nio.ByteBuffer byteBuffer, int int1, boolean boolean1)
void
loadChange(java.lang.String string, java.nio.ByteBuffer byteBuffer)
void
removeFromWorld()
InventoryItem
removePropaneTank()
void
render(float float1, float float2, float float3, ColorInfo colorInfo, boolean boolean1, boolean boolean2, Shader shader)
void
save(java.nio.ByteBuffer byteBuffer, boolean boolean1)
void
saveChange(java.lang.String string, KahluaTable kahluaTable, java.nio.ByteBuffer byteBuffer)
void
setFuelAmount(int int1)
void
setLit(boolean boolean1)
void
setPropaneTank(InventoryItem inventoryItem)
void
setSprite(IsoSprite sprite)
void
toggle()
void
turnOff()
void
turnOn()
void
update()
int
useFuel(int int1)
Methods inherited from class zombie.iso.IsoObject
addChild, addItemsFromProperties, addSecondaryContainer, addSheetRope, AttachAnim, AttachExistingAnim, AttachExistingAnim, AttackObject, canAddSheetRope, checkHaveElectricity, checkMoveWithWind, checkMoveWithWind, cleanWallBlood, clearAttachedAnimSprite, Collision, countAddSheetRope, createContainersFromSpriteProperties, customHashCode, Damage, debugPrintout, destroyFence, DirtySlice, doFindExternalWaterSource, DoSpecialTooltip, DoTooltip, factoryClassFromFileInput, factoryFromFileInput, factoryFromFileInput, factoryFromFileInput_OLD, factoryGetClassID, FindExternalWaterSource, FindExternalWaterSource, FindWaterSourceOnSquare, getAlpha, getAlpha, getAlphaUpdateRateDiv, getAlphaUpdateRateMul, getAttachedAnimSprite, getCell, getChildSprites, getContainer, getContainerByEitherType, getContainerByIndex, getContainerByType, getContainerCount, getContainerIndex, getCustomColor, getDamage, getDir, getFacingPosition, getFacingPositionAlt, getFactoryVehicle, getHighlightColor, getIsSurfaceNormalOffset, getItemContainer, getKeyId, getLastRendered, getLastRenderedRendered, getMaskClickedY, getModData, getMovingObjectIndex, getName, getNew, getNew, getObjectIndex, getObjectRenderEffects, getObjectRenderEffectsToApply, getOffsetX, getOffsetY, getOutlineHighlightCol, getOutlineHighlightCol, getOutlineThickness, getOverlaySprite, getOverlaySpriteColor, getPipedFuelAmount, getProperties, getRenderEffectMaster, getRenderYOffset, getRerouteCollide, getRerouteMask, getRerouteMaskObject, getScriptName, getSpecialObjectIndex, getSprite, getSpriteGridObjects, getSpriteName, getSquare, getStaticMovingObjectIndex, getSurfaceNormalOffset, getSurfaceOffset, getSurfaceOffsetNoTable, getTable, getTargetAlpha, getTargetAlpha, getTextureName, getThumpableFor, getThumpCondition, getTile, getType, getUsesExternalWaterSource, GetVehicleSlowFactor, getWaterAmount, getWaterMax, getWindRenderEffects, getWorldObjectIndex, getX, getY, getZ, hasExternalWaterSource, hasModData, HasTooltip, hasWater, haveSheetRope, haveSpecialTooltip, Hit, HitByVehicle, isAlphaAndTargetZero, isAlphaAndTargetZero, isAlphaZero, isAlphaZero, isBlink, isCharacter, isDestroyed, isExistInTheWorld, isHighlighted, isHoppable, isItemAllowedInContainer, isMaskClicked, isMaskClicked, isMovedThumpable, isNoPicking, isNorthHoppable, isOutlineHighlight, isOutlineHighlight, isOutlineHlAttached, isOutlineHlAttached, isOutlineHlBlink, isOutlineHlBlink, isOutlineOnMouseover, isRemoveItemAllowedFromContainer, isSpriteInvisible, isStairsNorth, isStairsObject, isStairsWest, isTableSurface, isTableTopObject, isTaintedWater, isTargetAlphaZero, isUpdateAlphaDuringRender, isUpdateAlphaEnabled, isZombie, load, loadFromRemoteBuffer, loadFromRemoteBuffer, loadState, onMouseLeftClick, onMouseRightClick, onMouseRightReleased, removeAllContainers, RemoveAttachedAnim, RemoveAttachedAnims, removeFromSquare, removeRenderEffect, removeSheetRope, renderAttachedAndOverlaySprites, renderFloorTile, renderFxMask, renderlast, renderObjectPicker, renderWallTile, renderWallTileOnly, replaceItem, reset, reuseGridSquare, save, saveState, sendObjectChange, sendObjectChange, sendObjectChange, Serialize, setAlpha, setAlpha, setAlphaAndTarget, setAlphaAndTarget, setAlphaToTarget, setAttachedAnimSprite, setBlink, setChildSprites, setContainer, setCustomColor, setCustomColor, setDamage, setDefaultCondition, setDir, setDir, setHighlightColor, setHighlightColor, setHighlighted, setHighlighted, setKeyId, setLastRendered, setLastRenderedRendered, setMovedThumpable, setName, SetName, setNoPicking, setOffsetX, setOffsetY, setOutlineHighlight, setOutlineHighlight, setOutlineHighlightCol, setOutlineHighlightCol, setOutlineHighlightCol, setOutlineHighlightCol, setOutlineHlAttached, setOutlineHlAttached, setOutlineHlBlink, setOutlineHlBlink, setOutlineOnMouseover, setOutlineThickness, setOverlaySprite, setOverlaySprite, setOverlaySprite, setOverlaySprite, setOverlaySpriteColor, setPipedFuelAmount, setRenderEffect, setRenderEffect, setRenderYOffset, setRerouteCollide, setRerouteMask, setSpecialTooltip, setSprite, setSpriteFromName, setSquare, setTable, setTaintedWater, setTargetAlpha, setTargetAlpha, setType, setUsesExternalWaterSource, setWaterAmount, softReset, syncIsoObject, syncIsoObjectSend, TestCollide, TestPathfindCollide, TestVision, Thump, transmitCompleteItemToClients, transmitCompleteItemToServer, transmitCustomColor, transmitModData, transmitUpdatedSprite, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToServer, UnCollision, unsetOutlineHighlight, updateAlpha, updateAlpha, updateAlpha, useItemOn, useWater, WeaponHit, 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
-
-
Constructor Details
-
IsoBarbecue
-
IsoBarbecue
-
-
Method Details
-
getObjectName
public java.lang.String getObjectName()- Overrides:
getObjectName
in classIsoObject
-
load
public void load(java.nio.ByteBuffer byteBuffer, int int1, boolean boolean1) throws java.io.IOException -
save
public void save(java.nio.ByteBuffer byteBuffer, boolean boolean1) 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() -
hasPropaneTank
public boolean hasPropaneTank() -
isPropaneBBQ
public boolean isPropaneBBQ() -
isSpriteWithPropaneTank
-
isSpriteWithoutPropaneTank
-
setPropaneTank
-
removePropaneTank
-
setLit
public void setLit(boolean boolean1) -
isLit
public boolean isLit() -
isSmouldering
public boolean isSmouldering() -
turnOn
public void turnOn() -
turnOff
public void turnOff() -
toggle
public void toggle() -
extinguish
public void extinguish() -
getTemperature
public float getTemperature() -
update
public void update() -
setSprite
-
addToWorld
public void addToWorld()- Overrides:
addToWorld
in classIsoObject
-
removeFromWorld
public void removeFromWorld()- Overrides:
removeFromWorld
in classIsoObject
-
render
-
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
-