Package zombie.iso.objects
Class IsoTree
java.lang.Object
zombie.iso.IsoObject
zombie.iso.objects.IsoTree
- All Implemented Interfaces:
java.io.Serializable
public class IsoTree 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
bRenderFlag
int
damage
float
fadeAlpha
int
LogYield
static int
MAX_SIZE
int
size
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 IsoTree(IsoCell cell)
IsoTree(IsoGridSquare sq, java.lang.String gid)
IsoTree(IsoGridSquare sq, IsoSprite gid)
-
Method Summary
Modifier and Type Method Description int
getHealth()
int
getMaxHealth()
java.lang.String
getObjectName()
int
getSize()
float
getSlowFactor(IsoMovingObject chr)
void
initTree()
boolean
isMaskClicked(int x, int y, boolean flip)
void
load(java.nio.ByteBuffer input, int WorldVersion)
void
render(float x, float y, float z, ColorInfo col, boolean bDoAttached)
void
reset()
void
save(java.nio.ByteBuffer output)
void
setSprite(IsoSprite sprite)
void
WeaponHit(IsoGameCharacter owner, HandWeapon weapon)
Methods inherited from class zombie.iso.IsoObject
addChild, addSecondaryContainer, addToWorld, 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, isNoPicking, isOutlineOnMouseover, isTableSurface, isTableTopObject, isZombie, loadChange, loadFromRemoteBuffer, loadFromRemoteBuffer, onMouseLeftClick, onMouseRightClick, onMouseRightReleased, removeAllContainers, RemoveAttachedAnim, RemoveAttachedAnims, removeFromSquare, removeFromWorld, render, renderlast, renderObjectPicker, replaceItem, 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, setSpriteFromName, setSquare, setTable, setTargetAlpha, setType, setUsesExternalWaterSource, setWaterAmount, syncIsoObject, syncIsoObjectSend, TestCollide, TestPathfindCollide, TestVision, transmitCompleteItemToClients, transmitCompleteItemToServer, transmitCustomColor, transmitModData, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToServer, update, useItemOn, useWater, writeToRemoteBuffer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
MAX_SIZE
public static final int MAX_SIZE- See Also:
- Constant Field Values
-
LogYield
public int LogYield -
damage
public int damage -
size
public int size -
bRenderFlag
public boolean bRenderFlag -
fadeAlpha
public float fadeAlpha
-
-
Constructor Details
-
IsoTree
-
IsoTree
-
IsoTree
-
-
Method Details
-
save
public void save(java.nio.ByteBuffer output) throws java.io.IOException -
load
public void load(java.nio.ByteBuffer input, int WorldVersion) throws java.io.IOException -
reset
public void reset() -
initTree
public void initTree() -
getObjectName
public java.lang.String getObjectName()- Overrides:
getObjectName
in classIsoObject
-
WeaponHit
-
getHealth
public int getHealth() -
getMaxHealth
public int getMaxHealth() -
getSize
public int getSize() -
getSlowFactor
-
render
-
setSprite
-
isMaskClicked
public boolean isMaskClicked(int x, int y, boolean flip)- Overrides:
isMaskClicked
in classIsoObject
-