Package zombie.iso
Class IsoObject
java.lang.Object
zombie.iso.IsoObject
- All Implemented Interfaces:
Serializable
,Thumpable
- Direct Known Subclasses:
BSFurnace
,IsoBarbecue
,IsoBarricade
,IsoBrokenGlass
,IsoCarBatteryCharger
,IsoClothingDryer
,IsoClothingWasher
,IsoCombinationWasherDryer
,IsoCompost
,IsoCurtain
,IsoDoor
,IsoFire
,IsoFireplace
,IsoGenerator
,IsoJukebox
,IsoLightSwitch
,IsoMannequin
,IsoMovingObject
,IsoRaindrop
,IsoRainSplash
,IsoStackedWasherDryer
,IsoStove
,IsoThumpable
,IsoTrap
,IsoTree
,IsoWaveSignal
,IsoWindow
,IsoWorldInventoryObject
,SkyBox
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static enum
-
Field Summary
Modifier and TypeFieldDescriptionboolean
static float
boolean
short
boolean
static float
byte
int
static IsoObject
static IsoObject
static boolean
static final int
boolean
static final byte
static final byte
static final byte
float
float
boolean
float
static float
boolean
float
float
float
se.krka.kahlua.vm.KahluaTable
float
float
float
-
Constructor Summary
ConstructorDescriptionIsoObject
(IsoCell cell, IsoGridSquare square, String gid) IsoObject
(IsoCell cell, IsoGridSquare square, IsoSprite spr) IsoObject
(IsoGridSquare square, String tile) IsoObject
(IsoGridSquare square, String tile, boolean bShareTilesWithMap) IsoObject
(IsoGridSquare square, String tile, String name) IsoObject
(IsoGridSquare square, String tile, String name, boolean bShareTilesWithMap) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addSecondaryContainer
(ItemContainer container) boolean
addSheetRope
(IsoPlayer player, String itemType) void
void
AttachAnim
(String ObjectName, String AnimName, int NumFrames, float frameIncrease, int OffsetX, int OffsetY, boolean Looping, int FinishHoldFrameIndex, boolean DeleteWhenFinished, float zBias, ColorInfo TintMod) void
AttachExistingAnim
(IsoSprite spr, int OffsetX, int OffsetY, boolean Looping, int FinishHoldFrameIndex, boolean DeleteWhenFinished, float zBias) void
AttachExistingAnim
(IsoSprite spr, int OffsetX, int OffsetY, boolean Looping, int FinishHoldFrameIndex, boolean DeleteWhenFinished, float zBias, ColorInfo TintMod) void
AttackObject
(IsoGameCharacter owner) boolean
void
void
void
void
void
int
void
long
void
Damage
(float amount) void
void
void
void
void
DoSpecialTooltip
(ObjectTooltip tooltipUI, IsoGridSquare square) void
DoTooltip
(ObjectTooltip tooltipUI) static Class
factoryClassFromFileInput
(IsoCell cell, int classID) Deprecated.static IsoObject
factoryFromFileInput
(IsoCell cell, byte classID) static IsoObject
factoryFromFileInput
(IsoCell cell, ByteBuffer b) static IsoObject
factoryFromFileInput_OLD
(IsoCell cell, int classID) Deprecated.static byte
factoryGetClassID
(String name) static IsoObject
FindExternalWaterSource
(int x, int y, int z) static IsoObject
FindExternalWaterSource
(IsoGridSquare square) static IsoObject
FindWaterSourceOnSquare
(IsoGridSquare square) float
getAlpha()
float
getAlpha
(int playerIndex) getCell()
getChunk()
getContainerByEitherType
(String type1, String type2) getContainerByIndex
(int index) getContainerByType
(String type) int
int
getContainerIndex
(ItemContainer container) short
getDir()
getFacingPosition
(Vector2 pos) static IsoObject.IsoObjectFactory
boolean
int
getKeyId()
static IsoObject
static IsoObject
float
getMaskClickedY
(int x, int y, boolean flip) se.krka.kahlua.vm.KahluaTable
int
getName()
static IsoObject
getNew()
static IsoObject
getNew
(IsoGridSquare sq, String spriteName, String name, boolean bShareTilesWithMap) int
float
float
final int
final int
getOutlineHighlightCol
(int playerIndex) float
int
float
int
void
getSpriteGridObjects
(ArrayList<IsoObject> result) int
float
float
float
se.krka.kahlua.vm.KahluaTable
getTable()
float
float
getTargetAlpha
(int playerIndex) float
getTile()
getType()
boolean
float
GetVehicleSlowFactor
(BaseVehicle vehicle) int
int
int
float
getX()
float
getY()
float
getZ()
boolean
boolean
boolean
boolean
hasWater()
boolean
boolean
void
void
HitByVehicle
(BaseVehicle vehicle, float amount) boolean
Returns TRUE if both Alpha nad TargetAlpha are transparent, or near-zero.boolean
isAlphaAndTargetZero
(int playerIndex) boolean
Returns TRUE if Alpha is transparent, or near-zero.boolean
isAlphaZero
(int playerIndex) boolean
isBlink()
boolean
boolean
boolean
boolean
isFloor()
boolean
boolean
boolean
isItemAllowedInContainer
(ItemContainer container, InventoryItem item) boolean
isMaskClicked
(int x, int y) boolean
isMaskClicked
(int x, int y, boolean flip) boolean
boolean
boolean
final boolean
final boolean
isOutlineHighlight
(int playerIndex) final boolean
final boolean
isOutlineHlAttached
(int playerIndex) boolean
final boolean
isOutlineHlBlink
(int playerIndex) boolean
boolean
isRemoveItemAllowedFromContainer
(ItemContainer container, InventoryItem item) boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isTargetAlphaZero
(int playerIndex) boolean
isZombie()
final void
load
(ByteBuffer input, int WorldVersion) void
load
(ByteBuffer input, int WorldVersion, boolean IS_DEBUG_SAVE) void
loadChange
(String change, ByteBuffer bb) void
void
loadFromRemoteBuffer
(ByteBuffer b, boolean addToObjects) void
loadState
(ByteBuffer bb) boolean
onMouseLeftClick
(int x, int y) void
onMouseRightClick
(int lx, int ly) void
void
void
RemoveAttachedAnim
(int index) void
void
void
void
boolean
removeSheetRope
(IsoPlayer player) void
render
(float x, float y, float z, ColorInfo col, boolean bDoAttached, boolean bWallLightingPass, Shader shader) void
renderAttachedAndOverlaySprites
(float x, float y, float z, ColorInfo col, boolean bDoAttached, boolean bWallLightingPass, Shader shader, Consumer<TextureDraw> texdModifier) void
renderFloorTile
(float x, float y, float z, ColorInfo col, boolean bDoAttached, boolean bWallLightingPass, Shader shader, Consumer<TextureDraw> texdModifier, Consumer<TextureDraw> attachedAndOverlayModifier) void
renderFxMask
(float x, float y, float z, boolean bDoAttached) void
void
renderObjectPicker
(float x, float y, float z, ColorInfo lightInfo) void
renderWallTile
(float x, float y, float z, ColorInfo col, boolean bDoAttached, boolean bWallLightingPass, Shader shader, Consumer<TextureDraw> texdModifier) void
renderWallTileOnly
(float x, float y, float z, ColorInfo col, Shader shader, Consumer<TextureDraw> texdModifier) replaceItem
(InventoryItem item) void
reset()
void
final void
save
(ByteBuffer output) void
save
(ByteBuffer output, boolean IS_DEBUG_SAVE) void
saveChange
(String change, se.krka.kahlua.vm.KahluaTable tbl, ByteBuffer bb) void
saveState
(ByteBuffer bb) void
sendObjectChange
(String change) void
sendObjectChange
(String change, Object... args) void
sendObjectChange
(String change, se.krka.kahlua.vm.KahluaTable tbl) boolean
void
setAlpha
(float alpha) void
setAlpha
(int playerIndex, float alpha) void
setAlphaAndTarget
(float alpha) void
setAlphaAndTarget
(int playerIndex, float alpha) void
setAlphaToTarget
(int playerIndex) void
setAttachedAnimSprite
(ArrayList<IsoSpriteInstance> AttachedAnimSprite) void
setBlink
(boolean blink) void
setChildSprites
(ArrayList<IsoSpriteInstance> AttachedAnimSprite) void
setContainer
(ItemContainer container) void
setCustomColor
(float r, float g, float b, float a) void
setCustomColor
(ColorInfo col) void
setDamage
(short Damage) static void
setDefaultCondition
(int i) void
setDir
(int dir) void
setDir
(IsoDirections dir) void
setHighlightColor
(float r, float g, float b, float a) void
setHighlightColor
(ColorInfo highlightColor) void
setHighlighted
(boolean highlight) void
setHighlighted
(boolean highlight, boolean renderOnce) void
setKeyId
(int keyId) static void
setLastRendered
(IsoObject aLastRendered) static void
setLastRenderedRendered
(IsoObject aLastRenderedRendered) void
setMovedThumpable
(boolean movedThumpable) void
void
void
setNoPicking
(boolean NoPicking) void
setOffsetX
(float offsetX) void
setOffsetY
(float offsetY) final void
setOutlineHighlight
(boolean isOutlineHighlight) final void
setOutlineHighlight
(int playerIndex, boolean isOutlineHighlight) final void
setOutlineHighlightCol
(float r, float g, float b, float a) final void
setOutlineHighlightCol
(int playerIndex, float r, float g, float b, float a) final void
setOutlineHighlightCol
(int playerIndex, ColorInfo outlineHighlightCol) final void
setOutlineHighlightCol
(ColorInfo outlineHighlightCol) void
setOutlineHlAttached
(boolean isOutlineHlAttached) final void
setOutlineHlAttached
(int playerIndex, boolean isOutlineHlAttached) void
setOutlineHlBlink
(boolean isOutlineHlBlink) final void
setOutlineHlBlink
(int playerIndex, boolean isOutlineHlBlink) void
setOutlineOnMouseover
(boolean OutlineOnMouseover) void
setOutlineThickness
(float outlineThickness) void
setOverlaySprite
(String spriteName) void
setOverlaySprite
(String spriteName, boolean bTransmit) void
setOverlaySprite
(String spriteName, float r, float g, float b, float a) boolean
setOverlaySprite
(String spriteName, float r, float g, float b, float a, boolean bTransmit) void
setOverlaySpriteColor
(float r, float g, float b, float a) void
setPipedFuelAmount
(int units) void
void
setRenderEffect
(RenderEffectType type, boolean reuseEqualType) void
setRenderYOffset
(float f) void
setRerouteCollide
(IsoObject rerouteCollide) void
setRerouteMask
(IsoObject rerouteMask) void
setSpecialTooltip
(boolean specialTooltip) void
void
void
setSpriteFromName
(String name) void
setSquare
(IsoGridSquare square) void
setTable
(se.krka.kahlua.vm.KahluaTable table) void
setTaintedWater
(boolean tainted) void
setTargetAlpha
(float targetAlpha) void
setTargetAlpha
(int playerIndex, float targetAlpha) void
setType
(IsoObjectType type) void
setUsesExternalWaterSource
(boolean b) void
setWaterAmount
(int units) void
void
syncIsoObject
(boolean bRemote, byte val, UdpConnection source, ByteBuffer bb) void
boolean
TestCollide
(IsoMovingObject obj, IsoGridSquare from, IsoGridSquare to) boolean
TestPathfindCollide
(IsoMovingObject obj, IsoGridSquare from, IsoGridSquare to) TestVision
(IsoGridSquare from, IsoGridSquare to) void
Thump
(IsoMovingObject thumper) void
void
void
void
void
void
void
transmitUpdatedSpriteToClients
(UdpConnection connection) void
void
UnCollision
(IsoObject object) void
void
update()
void
useItemOn
(InventoryItem item) Deprecated.int
useWater
(int amount) void
WeaponHit
(IsoGameCharacter chr, HandWeapon weapon) void
-
Field Details
-
OBF_Highlighted
public static final byte OBF_Highlighted- See Also:
-
OBF_HighlightRenderOnce
public static final byte OBF_HighlightRenderOnce- See Also:
-
OBF_Blink
public static final byte OBF_Blink- See Also:
-
MAX_WALL_SPLATS
public static final int MAX_WALL_SPLATS- See Also:
-
lastRendered
-
lastRenderedRendered
-
rmod
public static float rmod -
gmod
public static float gmod -
bmod
public static float bmod -
LowLightingQualityHack
public static boolean LowLightingQualityHack -
highlightFlags
public byte highlightFlags -
keyId
public int keyId -
emitter
-
sheetRopeHealth
public float sheetRopeHealth -
sheetRope
public boolean sheetRope -
bNeverDoneAlpha
public boolean bNeverDoneAlpha -
bAlphaForced
public boolean bAlphaForced -
AttachedAnimSprite
-
wallBloodSplats
-
container
-
dir
-
Damage
public short Damage -
partialThumpDmg
public float partialThumpDmg -
NoPicking
public boolean NoPicking -
offsetX
public float offsetX -
offsetY
public float offsetY -
OutlineOnMouseover
public boolean OutlineOnMouseover -
rerouteMask
-
sprite
-
overlaySprite
-
overlaySpriteColor
-
square
-
rerouteCollide
-
table
public se.krka.kahlua.vm.KahluaTable table -
name
-
tintr
public float tintr -
tintg
public float tintg -
tintb
public float tintb -
spriteName
-
sx
public float sx -
sy
public float sy -
doNotSync
public boolean doNotSync
-
-
Constructor Details
-
IsoObject
-
IsoObject
public IsoObject() -
IsoObject
-
IsoObject
-
IsoObject
-
IsoObject
-
IsoObject
-
IsoObject
-
-
Method Details
-
isFloor
public boolean isFloor() -
getNew
public static IsoObject getNew(IsoGridSquare sq, String spriteName, String name, boolean bShareTilesWithMap) -
getLastRendered
- Returns:
- the lastRendered
-
setLastRendered
- Parameters:
aLastRendered
- the lastRendered to set
-
getLastRenderedRendered
- Returns:
- the lastRenderedRendered
-
setLastRenderedRendered
- Parameters:
aLastRenderedRendered
- the lastRenderedRendered to set
-
setDefaultCondition
public static void setDefaultCondition(int i) -
getNew
-
getFactoryVehicle
-
factoryGetClassID
-
factoryFromFileInput
-
factoryFromFileInput_OLD
Deprecated. -
factoryClassFromFileInput
Deprecated. -
factoryFromFileInput
-
syncIsoObject
-
syncIsoObjectSend
-
getTextureName
-
Serialize
public boolean Serialize() -
getModData
public se.krka.kahlua.vm.KahluaTable getModData() -
hasModData
public boolean hasModData() -
getSquare
-
setSquare
- Parameters:
square
- the square to set
-
getChunk
-
update
public void update() -
renderlast
public void renderlast() -
DirtySlice
public void DirtySlice() -
getObjectName
-
load
- Throws:
IOException
-
load
- Throws:
IOException
-
save
- Throws:
IOException
-
save
- Throws:
IOException
-
saveState
- Throws:
IOException
-
loadState
- Throws:
IOException
-
softReset
public void softReset() -
AttackObject
-
onMouseRightClick
public void onMouseRightClick(int lx, int ly) -
onMouseRightReleased
public void onMouseRightReleased() -
Hit
-
Damage
public void Damage(float amount) -
HitByVehicle
-
Collision
-
UnCollision
-
GetVehicleSlowFactor
-
getRerouteCollide
- Returns:
- the rerouteCollide
-
setRerouteCollide
- Parameters:
rerouteCollide
- the rerouteCollide to set
-
getTable
public se.krka.kahlua.vm.KahluaTable getTable()- Returns:
- the table
-
setTable
public void setTable(se.krka.kahlua.vm.KahluaTable table) - Parameters:
table
- the table to set
-
setAlpha
public void setAlpha(float alpha) - Parameters:
alpha
- the alpha to set
-
setAlpha
public void setAlpha(int playerIndex, float alpha) - Parameters:
alpha
- the alpha to set
-
setAlphaToTarget
public void setAlphaToTarget(int playerIndex) - Parameters:
playerIndex
- The playerIndex to use
-
setAlphaAndTarget
public void setAlphaAndTarget(float alpha) - Parameters:
alpha
- the alpha to set
-
setAlphaAndTarget
public void setAlphaAndTarget(int playerIndex, float alpha) - Parameters:
playerIndex
- The playerIndex to use
-
getAlpha
public float getAlpha()- Returns:
- the alpha
-
getAlpha
public float getAlpha(int playerIndex) -
getAttachedAnimSprite
- Returns:
- the AttachedAnimSprite
-
setAttachedAnimSprite
- Parameters:
AttachedAnimSprite
- the AttachedAnimSprite to set
-
getCell
- Returns:
- the cell
-
getChildSprites
- Returns:
- the AttachedAnimSprite
-
setChildSprites
- Parameters:
AttachedAnimSprite
- the AttachedAnimSprite to set
-
clearAttachedAnimSprite
public void clearAttachedAnimSprite() -
getContainer
- Returns:
- the container
-
setContainer
- Parameters:
container
- the container to set
-
getDir
- Returns:
- the dir
-
setDir
- Parameters:
dir
- the dir to set
-
setDir
public void setDir(int dir) - Parameters:
dir
- the dir to set
-
getDamage
public short getDamage()- Returns:
- the Damage
-
setDamage
public void setDamage(short Damage) - Parameters:
Damage
- the Damage to set
-
isNoPicking
public boolean isNoPicking()- Returns:
- the NoPicking
-
setNoPicking
public void setNoPicking(boolean NoPicking) - Parameters:
NoPicking
- the NoPicking to set
-
isOutlineOnMouseover
public boolean isOutlineOnMouseover()- Returns:
- the OutlineOnMouseover
-
setOutlineOnMouseover
public void setOutlineOnMouseover(boolean OutlineOnMouseover) - Parameters:
OutlineOnMouseover
- the OutlineOnMouseover to set
-
getRerouteMask
- Returns:
- the rerouteMask
-
setRerouteMask
- Parameters:
rerouteMask
- the rerouteMask to set
-
getSprite
- Returns:
- the sprite
-
setSprite
- Parameters:
sprite
- the sprite to set
-
setSprite
-
setSpriteFromName
-
getTargetAlpha
public float getTargetAlpha()- Returns:
- the targetAlpha
-
setTargetAlpha
public void setTargetAlpha(float targetAlpha) - Parameters:
targetAlpha
- the targetAlpha to set
-
setTargetAlpha
public void setTargetAlpha(int playerIndex, float targetAlpha) - Parameters:
targetAlpha
- the targetAlpha to set
-
getTargetAlpha
public float getTargetAlpha(int playerIndex) -
isAlphaAndTargetZero
public boolean isAlphaAndTargetZero()Returns TRUE if both Alpha nad TargetAlpha are transparent, or near-zero. -
isAlphaAndTargetZero
public boolean isAlphaAndTargetZero(int playerIndex) -
isAlphaZero
public boolean isAlphaZero()Returns TRUE if Alpha is transparent, or near-zero. -
isAlphaZero
public boolean isAlphaZero(int playerIndex) -
isTargetAlphaZero
public boolean isTargetAlphaZero(int playerIndex) -
getType
- Returns:
- the type
-
setType
-
addChild
-
debugPrintout
public void debugPrintout() -
reset
public void reset() -
customHashCode
public long customHashCode() -
SetName
-
getName
-
setName
- Parameters:
name
- the name to set
-
getSpriteName
-
getTile
-
isCharacter
public boolean isCharacter() -
isZombie
public boolean isZombie() -
getScriptName
-
AttachAnim
-
AttachExistingAnim
-
AttachExistingAnim
public void AttachExistingAnim(IsoSprite spr, int OffsetX, int OffsetY, boolean Looping, int FinishHoldFrameIndex, boolean DeleteWhenFinished, float zBias) -
DoTooltip
-
DoSpecialTooltip
-
getItemContainer
-
getOffsetX
public float getOffsetX() -
setOffsetX
public void setOffsetX(float offsetX) - Parameters:
offsetX
- the offsetX to set
-
getOffsetY
public float getOffsetY() -
setOffsetY
public void setOffsetY(float offsetY) - Parameters:
offsetY
- the offsetY to set
-
getRerouteMaskObject
-
HasTooltip
public boolean HasTooltip() -
getUsesExternalWaterSource
public boolean getUsesExternalWaterSource() -
setUsesExternalWaterSource
public void setUsesExternalWaterSource(boolean b) -
hasExternalWaterSource
public boolean hasExternalWaterSource() -
doFindExternalWaterSource
public void doFindExternalWaterSource() -
FindExternalWaterSource
-
FindExternalWaterSource
-
FindWaterSourceOnSquare
-
getPipedFuelAmount
public int getPipedFuelAmount() -
setPipedFuelAmount
public void setPipedFuelAmount(int units) -
getWaterAmount
public int getWaterAmount() -
setWaterAmount
public void setWaterAmount(int units) -
getWaterMax
public int getWaterMax() -
useWater
public int useWater(int amount) -
hasWater
public boolean hasWater() -
isTaintedWater
public boolean isTaintedWater() -
setTaintedWater
public void setTaintedWater(boolean tainted) -
replaceItem
-
useItemOn
Deprecated. -
getX
public float getX() -
getY
public float getY() -
getZ
public float getZ() -
onMouseLeftClick
public boolean onMouseLeftClick(int x, int y) -
getProperties
-
RemoveAttachedAnims
public void RemoveAttachedAnims() -
RemoveAttachedAnim
public void RemoveAttachedAnim(int index) -
getFacingPosition
-
getFacingPositionAlt
-
getRenderYOffset
public float getRenderYOffset() -
setRenderYOffset
public void setRenderYOffset(float f) -
isTableSurface
public boolean isTableSurface() -
isTableTopObject
public boolean isTableTopObject() -
getIsSurfaceNormalOffset
public boolean getIsSurfaceNormalOffset() -
getSurfaceNormalOffset
public float getSurfaceNormalOffset() -
getSurfaceOffsetNoTable
public float getSurfaceOffsetNoTable() -
getSurfaceOffset
public float getSurfaceOffset() -
isStairsNorth
public boolean isStairsNorth() -
isStairsWest
public boolean isStairsWest() -
isStairsObject
public boolean isStairsObject() -
isHoppable
public boolean isHoppable() -
isNorthHoppable
public boolean isNorthHoppable() -
haveSheetRope
public boolean haveSheetRope() -
countAddSheetRope
public int countAddSheetRope() -
canAddSheetRope
public boolean canAddSheetRope() -
addSheetRope
-
removeSheetRope
-
render
-
renderFloorTile
public void renderFloorTile(float x, float y, float z, ColorInfo col, boolean bDoAttached, boolean bWallLightingPass, Shader shader, Consumer<TextureDraw> texdModifier, Consumer<TextureDraw> attachedAndOverlayModifier) -
renderWallTile
public void renderWallTile(float x, float y, float z, ColorInfo col, boolean bDoAttached, boolean bWallLightingPass, Shader shader, Consumer<TextureDraw> texdModifier) -
renderWallTileOnly
public void renderWallTileOnly(float x, float y, float z, ColorInfo col, Shader shader, Consumer<TextureDraw> texdModifier) -
renderAttachedAndOverlaySprites
public void renderAttachedAndOverlaySprites(float x, float y, float z, ColorInfo col, boolean bDoAttached, boolean bWallLightingPass, Shader shader, Consumer<TextureDraw> texdModifier) -
isSpriteInvisible
public boolean isSpriteInvisible() -
renderFxMask
public void renderFxMask(float x, float y, float z, boolean bDoAttached) -
renderObjectPicker
-
TestPathfindCollide
-
TestCollide
-
TestVision
-
isMaskClicked
public boolean isMaskClicked(int x, int y) -
isMaskClicked
public boolean isMaskClicked(int x, int y, boolean flip) -
getMaskClickedY
public float getMaskClickedY(int x, int y, boolean flip) -
getCustomColor
-
setCustomColor
-
setCustomColor
public void setCustomColor(float r, float g, float b, float a) -
loadFromRemoteBuffer
-
loadFromRemoteBuffer
-
addToWorld
public void addToWorld() -
removeFromWorld
public void removeFromWorld() -
reuseGridSquare
public void reuseGridSquare() -
removeFromSquare
public void removeFromSquare() -
transmitCustomColor
public void transmitCustomColor() -
transmitCompleteItemToClients
public void transmitCompleteItemToClients() -
transmitUpdatedSpriteToClients
-
transmitUpdatedSpriteToClients
public void transmitUpdatedSpriteToClients() -
transmitUpdatedSprite
public void transmitUpdatedSprite() -
sendObjectChange
-
sendObjectChange
-
sendObjectChange
-
saveChange
-
loadChange
-
transmitUpdatedSpriteToServer
public void transmitUpdatedSpriteToServer() -
transmitCompleteItemToServer
public void transmitCompleteItemToServer() -
transmitModData
public void transmitModData() -
writeToRemoteBuffer
-
getObjectIndex
public int getObjectIndex() -
getMovingObjectIndex
public int getMovingObjectIndex() -
getSpecialObjectIndex
public int getSpecialObjectIndex() -
getStaticMovingObjectIndex
public int getStaticMovingObjectIndex() -
getWorldObjectIndex
public int getWorldObjectIndex() -
getOverlaySprite
-
setOverlaySprite
-
setOverlaySprite
-
setOverlaySpriteColor
public void setOverlaySpriteColor(float r, float g, float b, float a) -
getOverlaySpriteColor
-
setOverlaySprite
-
setOverlaySprite
public boolean setOverlaySprite(String spriteName, float r, float g, float b, float a, boolean bTransmit) -
haveSpecialTooltip
public boolean haveSpecialTooltip() -
setSpecialTooltip
public void setSpecialTooltip(boolean specialTooltip) -
getKeyId
public int getKeyId() -
setKeyId
public void setKeyId(int keyId) -
isHighlighted
public boolean isHighlighted() -
setHighlighted
public void setHighlighted(boolean highlight) -
setHighlighted
public void setHighlighted(boolean highlight, boolean renderOnce) -
getHighlightColor
-
setHighlightColor
-
setHighlightColor
public void setHighlightColor(float r, float g, float b, float a) -
isBlink
public boolean isBlink() -
setBlink
public void setBlink(boolean blink) -
checkHaveElectricity
public void checkHaveElectricity() -
checkAmbientSound
public void checkAmbientSound() -
getContainerCount
public int getContainerCount() -
getContainerByIndex
-
getContainerByType
-
getContainerByEitherType
-
addSecondaryContainer
-
getContainerIndex
-
removeAllContainers
public void removeAllContainers() -
createContainersFromSpriteProperties
public void createContainersFromSpriteProperties() -
isItemAllowedInContainer
-
isRemoveItemAllowedFromContainer
-
cleanWallBlood
public void cleanWallBlood() -
getWindRenderEffects
-
getObjectRenderEffects
-
setRenderEffect
-
getRenderEffectMaster
-
setRenderEffect
-
removeRenderEffect
-
getObjectRenderEffectsToApply
-
destroyFence
-
getSpriteGridObjects
-
getOutlineHighlightCol
public final int getOutlineHighlightCol() -
setOutlineHighlightCol
-
getOutlineHighlightCol
public final int getOutlineHighlightCol(int playerIndex) -
setOutlineHighlightCol
-
setOutlineHighlightCol
public final void setOutlineHighlightCol(float r, float g, float b, float a) -
setOutlineHighlightCol
public final void setOutlineHighlightCol(int playerIndex, float r, float g, float b, float a) -
isOutlineHighlight
public final boolean isOutlineHighlight() -
isOutlineHighlight
public final boolean isOutlineHighlight(int playerIndex) -
setOutlineHighlight
public final void setOutlineHighlight(boolean isOutlineHighlight) -
setOutlineHighlight
public final void setOutlineHighlight(int playerIndex, boolean isOutlineHighlight) -
isOutlineHlAttached
public final boolean isOutlineHlAttached() -
isOutlineHlAttached
public final boolean isOutlineHlAttached(int playerIndex) -
setOutlineHlAttached
public void setOutlineHlAttached(boolean isOutlineHlAttached) -
setOutlineHlAttached
public final void setOutlineHlAttached(int playerIndex, boolean isOutlineHlAttached) -
isOutlineHlBlink
public boolean isOutlineHlBlink() -
isOutlineHlBlink
public final boolean isOutlineHlBlink(int playerIndex) -
setOutlineHlBlink
public void setOutlineHlBlink(boolean isOutlineHlBlink) -
setOutlineHlBlink
public final void setOutlineHlBlink(int playerIndex, boolean isOutlineHlBlink) -
unsetOutlineHighlight
public void unsetOutlineHighlight() -
getOutlineThickness
public float getOutlineThickness() -
setOutlineThickness
public void setOutlineThickness(float outlineThickness) -
isDestroyed
public boolean isDestroyed()- Specified by:
isDestroyed
in interfaceThumpable
-
Thump
-
setMovedThumpable
public void setMovedThumpable(boolean movedThumpable) -
isMovedThumpable
public boolean isMovedThumpable() -
WeaponHit
-
getThumpableFor
- Specified by:
getThumpableFor
in interfaceThumpable
-
isExistInTheWorld
public boolean isExistInTheWorld() -
getThumpCondition
public float getThumpCondition()- Specified by:
getThumpCondition
in interfaceThumpable
-