Package zombie.iso
Class IsoObject
java.lang.Object
zombie.iso.IsoObject
- All Implemented Interfaces:
java.io.Serializable
,Thumpable
- Direct Known Subclasses:
BSFurnace
,IsoBarbecue
,IsoBarricade
,IsoBrokenGlass
,IsoCarBatteryCharger
,IsoClothingDryer
,IsoClothingWasher
,IsoCompost
,IsoCurtain
,IsoDoor
,IsoFire
,IsoFireplace
,IsoGenerator
,IsoJukebox
,IsoLightSwitch
,IsoMannequin
,IsoMovingObject
,IsoRaindrop
,IsoRainSplash
,IsoStove
,IsoThumpable
,IsoTrap
,IsoTree
,IsoWaveSignal
,IsoWindow
,IsoWorldInventoryObject
,SkyBox
public class IsoObject extends java.lang.Object implements java.io.Serializable, Thumpable
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IsoObject.IsoObjectFactory
static class
IsoObject.OutlineShader
static class
IsoObject.VisionResult
-
Field Summary
-
Constructor Summary
Constructors Constructor Description IsoObject()
IsoObject(IsoCell cell)
IsoObject(IsoCell cell, IsoGridSquare square, java.lang.String string)
IsoObject(IsoCell cell, IsoGridSquare square, IsoSprite sprite)
IsoObject(IsoGridSquare square, java.lang.String string)
IsoObject(IsoGridSquare square, java.lang.String string, boolean boolean1)
IsoObject(IsoGridSquare square, java.lang.String string, java.lang.String string2)
IsoObject(IsoGridSquare square, java.lang.String string, java.lang.String string2, boolean boolean1)
-
Method Summary
Modifier and Type Method Description void
addChild(IsoObject object)
protected void
addItemsFromProperties()
void
addSecondaryContainer(ItemContainer itemContainer)
boolean
addSheetRope(IsoPlayer player, java.lang.String string)
void
addToWorld()
void
AttachAnim(java.lang.String string, java.lang.String string2, int int1, float float1, int int2, int int3, boolean boolean1, int int4, boolean boolean2, float float2, ColorInfo colorInfo)
void
AttachExistingAnim(IsoSprite sprite, int int1, int int2, boolean boolean1, int int3, boolean boolean2, float float1)
void
AttachExistingAnim(IsoSprite sprite, int int1, int int2, boolean boolean1, int int3, boolean boolean2, float float1, ColorInfo colorInfo)
void
AttackObject(IsoGameCharacter gameCharacter)
boolean
canAddSheetRope()
void
checkHaveElectricity()
protected void
checkMoveWithWind()
protected void
checkMoveWithWind(boolean boolean1)
void
cleanWallBlood()
void
clearAttachedAnimSprite()
void
Collision(Vector2 vector2, IsoObject object)
int
countAddSheetRope()
void
createContainersFromSpriteProperties()
long
customHashCode()
void
Damage(float float1)
void
debugPrintout()
void
destroyFence(IsoDirections directions)
void
DirtySlice()
void
doFindExternalWaterSource()
void
DoSpecialTooltip(ObjectTooltip objectTooltip, IsoGridSquare square)
void
DoTooltip(ObjectTooltip objectTooltip)
static java.lang.Class
factoryClassFromFileInput(IsoCell cell, int int1)
Deprecated.static IsoObject
factoryFromFileInput(IsoCell cell, byte byte1)
static IsoObject
factoryFromFileInput(IsoCell cell, java.nio.ByteBuffer byteBuffer)
static IsoObject
factoryFromFileInput_OLD(IsoCell cell, int int1)
Deprecated.static byte
factoryGetClassID(java.lang.String string)
static IsoObject
FindExternalWaterSource(int int1, int int2, int int3)
static IsoObject
FindExternalWaterSource(IsoGridSquare square)
static IsoObject
FindWaterSourceOnSquare(IsoGridSquare square)
float
getAlpha()
float
getAlpha(int int1)
protected float
getAlphaUpdateRateDiv()
protected float
getAlphaUpdateRateMul()
java.util.ArrayList
getAttachedAnimSprite()
IsoCell
getCell()
java.util.ArrayList
getChildSprites()
ItemContainer
getContainer()
ItemContainer
getContainerByEitherType(java.lang.String string, java.lang.String string2)
ItemContainer
getContainerByIndex(int int1)
ItemContainer
getContainerByType(java.lang.String string)
int
getContainerCount()
int
getContainerIndex(ItemContainer itemContainer)
ColorInfo
getCustomColor()
short
getDamage()
IsoDirections
getDir()
Vector2
getFacingPosition(Vector2 vector2)
Vector2
getFacingPositionAlt(Vector2 vector2)
static IsoObject.IsoObjectFactory
getFactoryVehicle()
ColorInfo
getHighlightColor()
boolean
getIsSurfaceNormalOffset()
ItemContainer
getItemContainer()
int
getKeyId()
static IsoObject
getLastRendered()
static IsoObject
getLastRenderedRendered()
float
getMaskClickedY(int int1, int int2, boolean boolean1)
KahluaTable
getModData()
int
getMovingObjectIndex()
java.lang.String
getName()
static IsoObject
getNew()
static IsoObject
getNew(IsoGridSquare square, java.lang.String string, java.lang.String string2, boolean boolean1)
int
getObjectIndex()
java.lang.String
getObjectName()
ObjectRenderEffects
getObjectRenderEffects()
ObjectRenderEffects
getObjectRenderEffectsToApply()
float
getOffsetX()
float
getOffsetY()
int
getOutlineHighlightCol()
int
getOutlineHighlightCol(int int1)
float
getOutlineThickness()
IsoSprite
getOverlaySprite()
ColorInfo
getOverlaySpriteColor()
int
getPipedFuelAmount()
PropertyContainer
getProperties()
IsoObject
getRenderEffectMaster()
float
getRenderYOffset()
IsoObject
getRerouteCollide()
IsoObject
getRerouteMask()
IsoObject
getRerouteMaskObject()
java.lang.String
getScriptName()
int
getSpecialObjectIndex()
IsoSprite
getSprite()
void
getSpriteGridObjects(java.util.ArrayList arrayList)
java.lang.String
getSpriteName()
IsoGridSquare
getSquare()
int
getStaticMovingObjectIndex()
float
getSurfaceNormalOffset()
float
getSurfaceOffset()
float
getSurfaceOffsetNoTable()
KahluaTable
getTable()
float
getTargetAlpha()
float
getTargetAlpha(int int1)
java.lang.String
getTextureName()
Thumpable
getThumpableFor(IsoGameCharacter gameCharacter)
float
getThumpCondition()
java.lang.String
getTile()
IsoObjectType
getType()
boolean
getUsesExternalWaterSource()
float
GetVehicleSlowFactor(BaseVehicle baseVehicle)
int
getWaterAmount()
int
getWaterMax()
ObjectRenderEffects
getWindRenderEffects()
int
getWorldObjectIndex()
float
getX()
float
getY()
float
getZ()
boolean
hasExternalWaterSource()
boolean
hasModData()
boolean
HasTooltip()
boolean
hasWater()
boolean
haveSheetRope()
boolean
haveSpecialTooltip()
void
Hit(Vector2 vector2, IsoObject object, float float1)
void
HitByVehicle(BaseVehicle baseVehicle, float float1)
boolean
isAlphaAndTargetZero()
boolean
isAlphaAndTargetZero(int int1)
boolean
isAlphaZero()
boolean
isAlphaZero(int int1)
boolean
isBlink()
boolean
isCharacter()
boolean
isDestroyed()
boolean
isExistInTheWorld()
boolean
isHighlighted()
boolean
isHoppable()
boolean
isItemAllowedInContainer(ItemContainer itemContainer, InventoryItem inventoryItem)
boolean
isMaskClicked(int int1, int int2)
boolean
isMaskClicked(int int1, int int2, boolean boolean1)
boolean
isMovedThumpable()
boolean
isNoPicking()
boolean
isNorthHoppable()
boolean
isOutlineHighlight()
boolean
isOutlineHighlight(int int1)
boolean
isOutlineHlAttached()
boolean
isOutlineHlAttached(int int1)
boolean
isOutlineHlBlink()
boolean
isOutlineHlBlink(int int1)
boolean
isOutlineOnMouseover()
boolean
isRemoveItemAllowedFromContainer(ItemContainer itemContainer, InventoryItem inventoryItem)
boolean
isSpriteInvisible()
boolean
isStairsNorth()
boolean
isStairsObject()
boolean
isStairsWest()
boolean
isTableSurface()
boolean
isTableTopObject()
boolean
isTaintedWater()
boolean
isTargetAlphaZero(int int1)
protected boolean
isUpdateAlphaDuringRender()
protected boolean
isUpdateAlphaEnabled()
boolean
isZombie()
void
load(java.nio.ByteBuffer byteBuffer, int int1)
void
load(java.nio.ByteBuffer byteBuffer, int int1, boolean boolean1)
void
loadChange(java.lang.String string, java.nio.ByteBuffer byteBuffer)
void
loadFromRemoteBuffer(java.nio.ByteBuffer byteBuffer)
void
loadFromRemoteBuffer(java.nio.ByteBuffer byteBuffer, boolean boolean1)
void
loadState(java.nio.ByteBuffer byteBuffer)
boolean
onMouseLeftClick(int int1, int int2)
void
onMouseRightClick(int int1, int int2)
void
onMouseRightReleased()
void
removeAllContainers()
void
RemoveAttachedAnim(int int1)
void
RemoveAttachedAnims()
void
removeFromSquare()
void
removeFromWorld()
void
removeRenderEffect(ObjectRenderEffects objectRenderEffects)
boolean
removeSheetRope(IsoPlayer player)
void
render(float float1, float float2, float float3, ColorInfo colorInfo, boolean boolean1, boolean boolean2, Shader shader)
void
renderAttachedAndOverlaySprites(float float1, float float2, float float3, ColorInfo colorInfo, boolean boolean1, boolean boolean2, Shader shader, java.util.function.Consumer consumer)
void
renderFloorTile(float float1, float float2, float float3, ColorInfo colorInfo, boolean boolean1, boolean boolean2, Shader shader, java.util.function.Consumer consumer, java.util.function.Consumer consumer2)
void
renderFxMask(float float1, float float2, float float3, boolean boolean1)
void
renderlast()
void
renderObjectPicker(float float1, float float2, float float3, ColorInfo colorInfo)
void
renderWallTile(float float1, float float2, float float3, ColorInfo colorInfo, boolean boolean1, boolean boolean2, Shader shader, java.util.function.Consumer consumer)
void
renderWallTileOnly(float float1, float float2, float float3, ColorInfo colorInfo, Shader shader, java.util.function.Consumer consumer)
InventoryItem
replaceItem(InventoryItem inventoryItem)
void
reset()
void
reuseGridSquare()
void
save(java.nio.ByteBuffer byteBuffer)
void
save(java.nio.ByteBuffer byteBuffer, boolean boolean1)
void
saveChange(java.lang.String string, KahluaTable kahluaTable, java.nio.ByteBuffer byteBuffer)
void
saveState(java.nio.ByteBuffer byteBuffer)
void
sendObjectChange(java.lang.String string)
void
sendObjectChange(java.lang.String string, java.lang.Object[] objectArray)
void
sendObjectChange(java.lang.String string, KahluaTable kahluaTable)
boolean
Serialize()
void
setAlpha(float float1)
void
setAlpha(int int1, float float1)
void
setAlphaAndTarget(float float1)
void
setAlphaAndTarget(int int1, float float1)
void
setAlphaToTarget(int int1)
void
setAttachedAnimSprite(java.util.ArrayList arrayList)
void
setBlink(boolean boolean1)
void
setChildSprites(java.util.ArrayList arrayList)
void
setContainer(ItemContainer itemContainer)
void
setCustomColor(float float1, float float2, float float3, float float4)
void
setCustomColor(ColorInfo colorInfo)
void
setDamage(short short1)
static void
setDefaultCondition(int int1)
void
setDir(int int1)
void
setDir(IsoDirections directions)
void
setHighlightColor(float float1, float float2, float float3, float float4)
void
setHighlightColor(ColorInfo colorInfo)
void
setHighlighted(boolean boolean1)
void
setHighlighted(boolean boolean1, boolean boolean2)
void
setKeyId(int int1)
static void
setLastRendered(IsoObject object)
static void
setLastRenderedRendered(IsoObject object)
void
setMovedThumpable(boolean boolean1)
void
setName(java.lang.String string)
void
SetName(java.lang.String string)
void
setNoPicking(boolean boolean1)
void
setOffsetX(float float1)
void
setOffsetY(float float1)
void
setOutlineHighlight(boolean boolean1)
void
setOutlineHighlight(int int1, boolean boolean1)
void
setOutlineHighlightCol(float float1, float float2, float float3, float float4)
void
setOutlineHighlightCol(int int1, float float1, float float2, float float3, float float4)
void
setOutlineHighlightCol(int int1, ColorInfo colorInfo)
void
setOutlineHighlightCol(ColorInfo colorInfo)
void
setOutlineHlAttached(boolean boolean1)
void
setOutlineHlAttached(int int1, boolean boolean1)
void
setOutlineHlBlink(boolean boolean1)
void
setOutlineHlBlink(int int1, boolean boolean1)
void
setOutlineOnMouseover(boolean boolean1)
void
setOutlineThickness(float float1)
void
setOverlaySprite(java.lang.String string)
void
setOverlaySprite(java.lang.String string, boolean boolean1)
void
setOverlaySprite(java.lang.String string, float float1, float float2, float float3, float float4)
boolean
setOverlaySprite(java.lang.String string, float float1, float float2, float float3, float float4, boolean boolean1)
void
setOverlaySpriteColor(float float1, float float2, float float3, float float4)
void
setPipedFuelAmount(int int1)
void
setRenderEffect(RenderEffectType renderEffectType)
void
setRenderEffect(RenderEffectType renderEffectType, boolean boolean1)
void
setRenderYOffset(float float1)
void
setRerouteCollide(IsoObject object)
void
setRerouteMask(IsoObject object)
void
setSpecialTooltip(boolean boolean1)
void
setSprite(java.lang.String string)
void
setSprite(IsoSprite sprite)
void
setSpriteFromName(java.lang.String string)
void
setSquare(IsoGridSquare square)
void
setTable(KahluaTable kahluaTable)
void
setTaintedWater(boolean boolean1)
void
setTargetAlpha(float float1)
void
setTargetAlpha(int int1, float float1)
void
setType(IsoObjectType objectType)
void
setUsesExternalWaterSource(boolean boolean1)
void
setWaterAmount(int int1)
void
softReset()
void
syncIsoObject(boolean boolean1, byte byte1, UdpConnection udpConnection, java.nio.ByteBuffer byteBuffer)
void
syncIsoObjectSend(ByteBufferWriter byteBufferWriter)
boolean
TestCollide(IsoMovingObject movingObject, IsoGridSquare square, IsoGridSquare square2)
boolean
TestPathfindCollide(IsoMovingObject movingObject, IsoGridSquare square, IsoGridSquare square2)
IsoObject.VisionResult
TestVision(IsoGridSquare square, IsoGridSquare square2)
void
Thump(IsoMovingObject movingObject)
void
transmitCompleteItemToClients()
void
transmitCompleteItemToServer()
void
transmitCustomColor()
void
transmitModData()
void
transmitUpdatedSprite()
void
transmitUpdatedSpriteToClients()
void
transmitUpdatedSpriteToClients(UdpConnection udpConnection)
void
transmitUpdatedSpriteToServer()
void
UnCollision(IsoObject object)
void
unsetOutlineHighlight()
void
update()
protected void
updateAlpha()
protected void
updateAlpha(int int1)
protected void
updateAlpha(int int1, float float1, float float2)
void
useItemOn(InventoryItem inventoryItem)
int
useWater(int int1)
void
WeaponHit(IsoGameCharacter gameCharacter, HandWeapon handWeapon)
void
writeToRemoteBuffer(ByteBufferWriter byteBufferWriter)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
OBF_Highlighted
public static final byte OBF_Highlighted- See Also:
- Constant Field Values
-
OBF_HighlightRenderOnce
public static final byte OBF_HighlightRenderOnce- See Also:
- Constant Field Values
-
OBF_Blink
public static final byte OBF_Blink- See Also:
- Constant Field Values
-
MAX_WALL_SPLATS
public static final int MAX_WALL_SPLATS- See Also:
- Constant Field Values
-
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
public java.util.ArrayList AttachedAnimSprite -
wallBloodSplats
public java.util.ArrayList 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
-
name
public java.lang.String name -
tintr
public float tintr -
tintg
public float tintg -
tintb
public float tintb -
spriteName
public java.lang.String spriteName -
sx
public float sx -
sy
public float sy -
doNotSync
public boolean doNotSync -
windRenderEffects
-
objectRenderEffects
-
externalWaterSource
-
usesExternalWaterSource
protected boolean usesExternalWaterSource -
isOutlineHighlight
protected byte isOutlineHighlight -
isOutlineHlAttached
protected byte isOutlineHlAttached -
isOutlineHlBlink
protected byte isOutlineHlBlink -
outlineHighlightCol
protected final int[] outlineHighlightCol -
bMovedThumpable
protected boolean bMovedThumpable
-
-
Constructor Details
-
IsoObject
-
IsoObject
public IsoObject() -
IsoObject
-
IsoObject
-
IsoObject
-
IsoObject
public IsoObject(IsoGridSquare square, java.lang.String string, java.lang.String string2, boolean boolean1) -
IsoObject
-
IsoObject
-
-
Method Details
-
getNew
public static IsoObject getNew(IsoGridSquare square, java.lang.String string, java.lang.String string2, boolean boolean1) -
getLastRendered
-
setLastRendered
-
getLastRenderedRendered
-
setLastRenderedRendered
-
setDefaultCondition
public static void setDefaultCondition(int int1) -
getNew
-
getFactoryVehicle
-
factoryGetClassID
public static byte factoryGetClassID(java.lang.String string) -
factoryFromFileInput
-
factoryFromFileInput_OLD
Deprecated. -
factoryClassFromFileInput
Deprecated. -
factoryFromFileInput
-
syncIsoObject
public void syncIsoObject(boolean boolean1, byte byte1, UdpConnection udpConnection, java.nio.ByteBuffer byteBuffer) -
syncIsoObjectSend
-
getTextureName
public java.lang.String getTextureName() -
Serialize
public boolean Serialize() -
getModData
-
hasModData
public boolean hasModData() -
getSquare
-
setSquare
-
update
public void update() -
renderlast
public void renderlast() -
DirtySlice
public void DirtySlice() -
getObjectName
public java.lang.String getObjectName() -
load
public final void load(java.nio.ByteBuffer byteBuffer, int int1) throws java.io.IOException- Throws:
java.io.IOException
-
load
public void load(java.nio.ByteBuffer byteBuffer, int int1, boolean boolean1) throws java.io.IOException- Throws:
java.io.IOException
-
save
public final void save(java.nio.ByteBuffer byteBuffer) throws java.io.IOException- Throws:
java.io.IOException
-
save
public void save(java.nio.ByteBuffer byteBuffer, boolean boolean1) throws java.io.IOException- Throws:
java.io.IOException
-
saveState
public void saveState(java.nio.ByteBuffer byteBuffer) throws java.io.IOException- Throws:
java.io.IOException
-
loadState
public void loadState(java.nio.ByteBuffer byteBuffer) throws java.io.IOException- Throws:
java.io.IOException
-
softReset
public void softReset() -
AttackObject
-
onMouseRightClick
public void onMouseRightClick(int int1, int int2) -
onMouseRightReleased
public void onMouseRightReleased() -
Hit
-
Damage
public void Damage(float float1) -
HitByVehicle
-
Collision
-
UnCollision
-
GetVehicleSlowFactor
-
getRerouteCollide
-
setRerouteCollide
-
getTable
-
setTable
-
setAlpha
public void setAlpha(float float1) -
setAlpha
public void setAlpha(int int1, float float1) -
setAlphaToTarget
public void setAlphaToTarget(int int1) -
setAlphaAndTarget
public void setAlphaAndTarget(float float1) -
setAlphaAndTarget
public void setAlphaAndTarget(int int1, float float1) -
getAlpha
public float getAlpha() -
getAlpha
public float getAlpha(int int1) -
getAttachedAnimSprite
public java.util.ArrayList getAttachedAnimSprite() -
setAttachedAnimSprite
public void setAttachedAnimSprite(java.util.ArrayList arrayList) -
getCell
-
getChildSprites
public java.util.ArrayList getChildSprites() -
setChildSprites
public void setChildSprites(java.util.ArrayList arrayList) -
clearAttachedAnimSprite
public void clearAttachedAnimSprite() -
getContainer
-
setContainer
-
getDir
-
setDir
-
setDir
public void setDir(int int1) -
getDamage
public short getDamage() -
setDamage
public void setDamage(short short1) -
isNoPicking
public boolean isNoPicking() -
setNoPicking
public void setNoPicking(boolean boolean1) -
isOutlineOnMouseover
public boolean isOutlineOnMouseover() -
setOutlineOnMouseover
public void setOutlineOnMouseover(boolean boolean1) -
getRerouteMask
-
setRerouteMask
-
getSprite
-
setSprite
-
setSprite
public void setSprite(java.lang.String string) -
setSpriteFromName
public void setSpriteFromName(java.lang.String string) -
getTargetAlpha
public float getTargetAlpha() -
setTargetAlpha
public void setTargetAlpha(float float1) -
setTargetAlpha
public void setTargetAlpha(int int1, float float1) -
getTargetAlpha
public float getTargetAlpha(int int1) -
isAlphaAndTargetZero
public boolean isAlphaAndTargetZero() -
isAlphaAndTargetZero
public boolean isAlphaAndTargetZero(int int1) -
isAlphaZero
public boolean isAlphaZero() -
isAlphaZero
public boolean isAlphaZero(int int1) -
isTargetAlphaZero
public boolean isTargetAlphaZero(int int1) -
getType
-
setType
-
addChild
-
debugPrintout
public void debugPrintout() -
checkMoveWithWind
protected void checkMoveWithWind() -
checkMoveWithWind
protected void checkMoveWithWind(boolean boolean1) -
reset
public void reset() -
customHashCode
public long customHashCode() -
SetName
public void SetName(java.lang.String string) -
getName
public java.lang.String getName() -
setName
public void setName(java.lang.String string) -
getSpriteName
public java.lang.String getSpriteName() -
getTile
public java.lang.String getTile() -
isCharacter
public boolean isCharacter() -
isZombie
public boolean isZombie() -
getScriptName
public java.lang.String getScriptName() -
AttachAnim
public void AttachAnim(java.lang.String string, java.lang.String string2, int int1, float float1, int int2, int int3, boolean boolean1, int int4, boolean boolean2, float float2, ColorInfo colorInfo) -
AttachExistingAnim
-
AttachExistingAnim
public void AttachExistingAnim(IsoSprite sprite, int int1, int int2, boolean boolean1, int int3, boolean boolean2, float float1) -
DoTooltip
-
DoSpecialTooltip
-
getItemContainer
-
getOffsetX
public float getOffsetX() -
setOffsetX
public void setOffsetX(float float1) -
getOffsetY
public float getOffsetY() -
setOffsetY
public void setOffsetY(float float1) -
getRerouteMaskObject
-
HasTooltip
public boolean HasTooltip() -
getUsesExternalWaterSource
public boolean getUsesExternalWaterSource() -
setUsesExternalWaterSource
public void setUsesExternalWaterSource(boolean boolean1) -
hasExternalWaterSource
public boolean hasExternalWaterSource() -
doFindExternalWaterSource
public void doFindExternalWaterSource() -
FindExternalWaterSource
-
FindExternalWaterSource
-
FindWaterSourceOnSquare
-
getPipedFuelAmount
public int getPipedFuelAmount() -
setPipedFuelAmount
public void setPipedFuelAmount(int int1) -
getWaterAmount
public int getWaterAmount() -
setWaterAmount
public void setWaterAmount(int int1) -
getWaterMax
public int getWaterMax() -
useWater
public int useWater(int int1) -
hasWater
public boolean hasWater() -
isTaintedWater
public boolean isTaintedWater() -
setTaintedWater
public void setTaintedWater(boolean boolean1) -
replaceItem
-
useItemOn
-
getX
public float getX() -
getY
public float getY() -
getZ
public float getZ() -
onMouseLeftClick
public boolean onMouseLeftClick(int int1, int int2) -
getProperties
-
RemoveAttachedAnims
public void RemoveAttachedAnims() -
RemoveAttachedAnim
public void RemoveAttachedAnim(int int1) -
getFacingPosition
-
getFacingPositionAlt
-
getRenderYOffset
public float getRenderYOffset() -
setRenderYOffset
public void setRenderYOffset(float float1) -
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
-
renderWallTile
-
renderWallTileOnly
-
renderAttachedAndOverlaySprites
-
getAlphaUpdateRateDiv
protected float getAlphaUpdateRateDiv() -
getAlphaUpdateRateMul
protected float getAlphaUpdateRateMul() -
isUpdateAlphaEnabled
protected boolean isUpdateAlphaEnabled() -
isUpdateAlphaDuringRender
protected boolean isUpdateAlphaDuringRender() -
updateAlpha
protected final void updateAlpha() -
updateAlpha
protected final void updateAlpha(int int1) -
updateAlpha
protected void updateAlpha(int int1, float float1, float float2) -
isSpriteInvisible
public boolean isSpriteInvisible() -
renderFxMask
public void renderFxMask(float float1, float float2, float float3, boolean boolean1) -
renderObjectPicker
-
TestPathfindCollide
public boolean TestPathfindCollide(IsoMovingObject movingObject, IsoGridSquare square, IsoGridSquare square2) -
TestCollide
public boolean TestCollide(IsoMovingObject movingObject, IsoGridSquare square, IsoGridSquare square2) -
TestVision
-
isMaskClicked
public boolean isMaskClicked(int int1, int int2) -
isMaskClicked
public boolean isMaskClicked(int int1, int int2, boolean boolean1) -
getMaskClickedY
public float getMaskClickedY(int int1, int int2, boolean boolean1) -
getCustomColor
-
setCustomColor
-
setCustomColor
public void setCustomColor(float float1, float float2, float float3, float float4) -
loadFromRemoteBuffer
public void loadFromRemoteBuffer(java.nio.ByteBuffer byteBuffer) -
loadFromRemoteBuffer
public void loadFromRemoteBuffer(java.nio.ByteBuffer byteBuffer, boolean boolean1) -
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
public void sendObjectChange(java.lang.String string) -
sendObjectChange
-
sendObjectChange
public void sendObjectChange(java.lang.String string, java.lang.Object[] objectArray) -
saveChange
public void saveChange(java.lang.String string, KahluaTable kahluaTable, java.nio.ByteBuffer byteBuffer) -
loadChange
public void loadChange(java.lang.String string, java.nio.ByteBuffer byteBuffer) -
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
public void setOverlaySprite(java.lang.String string) -
setOverlaySprite
public void setOverlaySprite(java.lang.String string, boolean boolean1) -
setOverlaySpriteColor
public void setOverlaySpriteColor(float float1, float float2, float float3, float float4) -
getOverlaySpriteColor
-
setOverlaySprite
public void setOverlaySprite(java.lang.String string, float float1, float float2, float float3, float float4) -
setOverlaySprite
public boolean setOverlaySprite(java.lang.String string, float float1, float float2, float float3, float float4, boolean boolean1) -
haveSpecialTooltip
public boolean haveSpecialTooltip() -
setSpecialTooltip
public void setSpecialTooltip(boolean boolean1) -
getKeyId
public int getKeyId() -
setKeyId
public void setKeyId(int int1) -
isHighlighted
public boolean isHighlighted() -
setHighlighted
public void setHighlighted(boolean boolean1) -
setHighlighted
public void setHighlighted(boolean boolean1, boolean boolean2) -
getHighlightColor
-
setHighlightColor
-
setHighlightColor
public void setHighlightColor(float float1, float float2, float float3, float float4) -
isBlink
public boolean isBlink() -
setBlink
public void setBlink(boolean boolean1) -
checkHaveElectricity
public void checkHaveElectricity() -
getContainerCount
public int getContainerCount() -
getContainerByIndex
-
getContainerByType
-
getContainerByEitherType
-
addSecondaryContainer
-
getContainerIndex
-
removeAllContainers
public void removeAllContainers() -
createContainersFromSpriteProperties
public void createContainersFromSpriteProperties() -
isItemAllowedInContainer
-
isRemoveItemAllowedFromContainer
public boolean isRemoveItemAllowedFromContainer(ItemContainer itemContainer, InventoryItem inventoryItem) -
cleanWallBlood
public void cleanWallBlood() -
getWindRenderEffects
-
getObjectRenderEffects
-
setRenderEffect
-
getRenderEffectMaster
-
setRenderEffect
-
removeRenderEffect
-
getObjectRenderEffectsToApply
-
destroyFence
-
getSpriteGridObjects
public void getSpriteGridObjects(java.util.ArrayList arrayList) -
getOutlineHighlightCol
public final int getOutlineHighlightCol() -
setOutlineHighlightCol
-
getOutlineHighlightCol
public final int getOutlineHighlightCol(int int1) -
setOutlineHighlightCol
-
setOutlineHighlightCol
public final void setOutlineHighlightCol(float float1, float float2, float float3, float float4) -
setOutlineHighlightCol
public final void setOutlineHighlightCol(int int1, float float1, float float2, float float3, float float4) -
isOutlineHighlight
public final boolean isOutlineHighlight() -
isOutlineHighlight
public final boolean isOutlineHighlight(int int1) -
setOutlineHighlight
public final void setOutlineHighlight(boolean boolean1) -
setOutlineHighlight
public final void setOutlineHighlight(int int1, boolean boolean1) -
isOutlineHlAttached
public final boolean isOutlineHlAttached() -
isOutlineHlAttached
public final boolean isOutlineHlAttached(int int1) -
setOutlineHlAttached
public void setOutlineHlAttached(boolean boolean1) -
setOutlineHlAttached
public final void setOutlineHlAttached(int int1, boolean boolean1) -
isOutlineHlBlink
public boolean isOutlineHlBlink() -
isOutlineHlBlink
public final boolean isOutlineHlBlink(int int1) -
setOutlineHlBlink
public void setOutlineHlBlink(boolean boolean1) -
setOutlineHlBlink
public final void setOutlineHlBlink(int int1, boolean boolean1) -
unsetOutlineHighlight
public void unsetOutlineHighlight() -
getOutlineThickness
public float getOutlineThickness() -
setOutlineThickness
public void setOutlineThickness(float float1) -
addItemsFromProperties
protected void addItemsFromProperties() -
isDestroyed
public boolean isDestroyed()- Specified by:
isDestroyed
in interfaceThumpable
-
Thump
-
setMovedThumpable
public void setMovedThumpable(boolean boolean1) -
isMovedThumpable
public boolean isMovedThumpable() -
WeaponHit
-
getThumpableFor
- Specified by:
getThumpableFor
in interfaceThumpable
-
isExistInTheWorld
public boolean isExistInTheWorld() -
getThumpCondition
public float getThumpCondition()- Specified by:
getThumpCondition
in interfaceThumpable
-