Class IsoObject
java.lang.Object
zombie.entity.GameEntity
zombie.iso.IsoObject
- All Implemented Interfaces:
Serializable
,Thumpable
- Direct Known Subclasses:
IsoAnimalTrack
,IsoBarbecue
,IsoBarricade
,IsoBrokenGlass
,IsoButcherHook
,IsoCarBatteryCharger
,IsoClothingDryer
,IsoClothingWasher
,IsoCombinationWasherDryer
,IsoCompost
,IsoCurtain
,IsoDoor
,IsoFeedingTrough
,IsoFire
,IsoFireplace
,IsoGenerator
,IsoHutch
,IsoJukebox
,IsoLightSwitch
,IsoMannequin
,IsoMovingObject
,IsoRaindrop
,IsoRainSplash
,IsoStackedWasherDryer
,IsoStove
,IsoThumpable
,IsoTrap
,IsoTree
,IsoWaveSignal
,IsoWindow
,IsoWindowFrame
,IsoWorldInventoryObject
,SkyBox
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static enum
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal float[]
boolean
protected boolean
static float
protected boolean
boolean
boolean
short
boolean
protected IsoObject
static float
protected byte
protected byte
protected byte
int
static IsoObject
static IsoObject
static boolean
static final int
boolean
protected ObjectRenderEffects
float
float
protected final int[]
boolean
float
byte
byte
byte
float
protected final ObjectRenderInfo[]
static float
boolean
float
protected SpriteModel
protected IsoSprite
protected String
float
float
se.krka.kahlua.vm.KahluaTable
protected final float[]
float
float
float
protected boolean
protected ObjectRenderEffects
Fields inherited from class zombie.entity.GameEntity
DEFAULT_ENTITY_DISPLAY_NAME
-
Constructor Summary
ConstructorsConstructorDescriptionIsoObject
(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
addAttachedAnimSprite
(IsoSprite isoSprite) void
addAttachedAnimSpriteByName
(String string) void
addAttachedAnimSpriteInstance
(IsoSpriteInstance isoSpriteInstance) void
void
protected void
addItemToObjectSurface
(String string) addItemToObjectSurface
(String string, boolean boolean0) protected void
protected void
addObjectAmbientEmitter
(ObjectAmbientEmitters.PerObjectLogic perObjectLogic) void
addSecondaryContainer
(ItemContainer _container) boolean
addSheetRope
(IsoPlayer player, String itemType) void
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
protected void
protected void
checkMoveWithWind
(boolean boolean0) void
void
void
void
int
void
void
long
void
Damage
(float amount) void
void
destroyFence
(IsoDirections _dir) void
void
void
DoSpecialTooltip
(ObjectTooltip tooltipUI, IsoGridSquare _square) void
DoTooltip
(ObjectTooltip tooltipUI) void
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) protected float
protected float
int
getCell()
getChunk()
getContainerByEitherType
(String type1, String type2) getContainerByIndex
(int index) getContainerByType
(String type) int
int
getContainerIndex
(ItemContainer _container) short
getDir()
long
getFacingPosition
(Vector2 pos) static IsoObject.IsoObjectFactory
float
float
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
getRenderEffectObjectByIndex
(int var1) int
getRenderInfo
(int int0) float
int
void
getSpriteGridObjects
(ArrayList<IsoObject> result) void
getSpriteGridObjects
(ArrayList<IsoObject> arrayList, boolean boolean0) void
getSpriteGridObjectsExcludingSelf
(ArrayList<IsoObject> arrayList) void
getSpriteGridObjectsIncludingSelf
(ArrayList<IsoObject> arrayList) int
float
float
float
se.krka.kahlua.vm.KahluaTable
getTable()
float
float
getTargetAlpha
(int playerIndex) float
getTile()
getType()
boolean
float
GetVehicleSlowFactor
(BaseVehicle vehicle) int
float
getX()
float
getY()
float
getZ()
boolean
boolean
boolean
boolean
hasFluid()
boolean
protected boolean
boolean
boolean
boolean
boolean
hasWater()
boolean
boolean
void
void
HitByVehicle
(BaseVehicle vehicle, float amount) void
invalidateRenderChunkLevel
(long long0) void
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
boolean
isBlink()
boolean
isBlink
(int int0) boolean
isBush()
boolean
boolean
boolean
isConnectedSpriteGridObject
(IsoObject isoObject0) boolean
boolean
boolean
boolean
isFascia()
boolean
isFloor()
boolean
boolean
isGrave()
boolean
boolean
isHighlighted
(int int0) boolean
boolean
isHighlightRenderOnce
(int int0) boolean
boolean
isItemAllowedInContainer
(ItemContainer _container, InventoryItem item) boolean
isMaskClicked
(int x, int y) boolean
isMaskClicked
(int x, int y, boolean flip) boolean
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
boolean
isTargetAlphaZero
(int playerIndex) boolean
isTent()
protected boolean
protected boolean
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) moveFluidToTemporaryContainer
(float float1) void
boolean
onMouseLeftClick
(int x, int y) void
onMouseRightClick
(int lx, int ly) void
void
void
RemoveAttachedAnim
(int index) void
void
void
final void
protected void
void
boolean
removeSheetRope
(IsoPlayer player) void
render
(float x, float y, float z, ColorInfo col, boolean bDoAttached, boolean bWallLightingPass, Shader shader) void
renderAnimatedAttachments
(float float4, float float5, float float6, ColorInfo colorInfo) void
renderAttachedAndOverlaySprites
(IsoDirections isoDirections, float float0, float float1, float float2, ColorInfo colorInfo, boolean boolean0, boolean boolean1, Shader shader, Consumer<TextureDraw> consumer) 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
protected boolean
renderModel
(float float4, float float5, float float6, ColorInfo colorInfo0) void
renderObjectPicker
(float x, float y, float z, ColorInfo lightInfo) void
renderWallTile
(IsoDirections isoDirections, float float2, float float1, float float0, ColorInfo colorInfo, boolean boolean0, boolean boolean1, Shader shader, Consumer<TextureDraw> consumer) void
renderWallTileDepth
(IsoDirections isoDirections, boolean boolean1, boolean boolean2, boolean boolean3, int int1, float float1, float float2, float float3, ColorInfo colorInfo0, Shader var10, Consumer<TextureDraw> consumer) void
renderWallTileOnly
(IsoDirections isoDirections, float float2, float float3, float float4, ColorInfo colorInfo0, Shader shader, Consumer<TextureDraw> consumer) replaceItem
(InventoryItem item) void
reset()
void
final void
save
(ByteBuffer output) void
save
(ByteBuffer output, boolean IS_DEBUG_SAVE) void
saveChange
(String string, se.krka.kahlua.vm.KahluaTable kahluaTable, ByteBuffer byteBuffer) void
saveState
(ByteBuffer bb) void
sendObjectChange
(String change) void
sendObjectChange
(String string, Object... object) void
sendObjectChange
(String string, se.krka.kahlua.vm.KahluaTable kahluaTable) 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
setAnimating
(boolean boolean0) void
setAttachedAnimSprite
(ArrayList<IsoSpriteInstance> _AttachedAnimSprite) void
setBlink
(boolean blink) void
setBlink
(int int0, boolean boolean0) 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
setExplored
(boolean boolean0) 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
setHighlighted
(int int0, boolean boolean0) void
setHighlighted
(int int0, boolean boolean0, boolean boolean1) void
setHighlightRenderOnce
(boolean boolean0) void
setHighlightRenderOnce
(int int0, boolean boolean0) void
setKeyId
(int _keyId) static void
setLastRendered
(IsoObject aLastRendered) static void
setLastRenderedRendered
(IsoObject aLastRenderedRendered) void
setLightSource
(IsoLightSource isoLightSource) void
setModData
(se.krka.kahlua.vm.KahluaTable kahluaTable) void
setMovedThumpable
(boolean movedThumpable) void
void
void
setNoPicking
(boolean _NoPicking) void
setOffsetX
(float _offsetX) void
setOffsetY
(float _offsetY) void
setOnOverlay
(IsoSpriteInstance isoSpriteInstance) 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
setSatChair
(boolean boolean0) void
setSpecialTooltip
(boolean _specialTooltip) void
void
void
setSpriteFromName
(String _name) void
setSpriteModelName
(String string) void
setSquare
(IsoGridSquare _square) void
setTable
(se.krka.kahlua.vm.KahluaTable kahluaTable) void
setTargetAlpha
(float _targetAlpha) void
setTargetAlpha
(int playerIndex, float _targetAlpha) void
void
setType
(IsoObjectType type) void
setUsesExternalWaterSource
(boolean b) protected boolean
boolean
void
void
sync()
void
syncIsoObject
(boolean bRemote, byte val, UdpConnection source, ByteBuffer bb) void
syncIsoObjectReceive
(ByteBuffer byteBuffer) 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) toString()
float
transferFluidFrom
(FluidContainer fluidContainer0, float float4) float
transferFluidTo
(FluidContainer fluidContainer0, float float4) void
void
Deprecated.void
void
void
void
void
transmitUpdatedSpriteToClients
(UdpConnection connection) void
Deprecated.void
UnCollision
(IsoObject object) void
void
update()
protected final void
protected final void
updateAlpha
(int int0) protected void
updateAlpha
(int int0, float float0, float float1) protected void
updateRenderInfoForObjectPicker
(float float1, float float3, float float6, ColorInfo colorInfo) float
useFluid
(float float0) void
useItemOn
(InventoryItem item) Deprecated.void
WeaponHit
(IsoGameCharacter chr, HandWeapon weapon) void
Methods inherited from class zombie.entity.GameEntity
attrib, componentSize, connectComponents, containsComponent, getAttributes, getComponent, getComponentForIndex, getComponentFromID, getDefaultEntityDisplayName, getDurabilityComponent, getEntityDisplayName, getEntityFullTypeDebug, getExceptionCompatibleString, getFluidContainer, getSpriteConfig, getUsingPlayer, hasComponent, hasComponents, hasRenderers, isAddedToEngine, isMeta, isRemovingFromEngine, isScheduledForBucketUpdate, isScheduledForEngineRemoval, isUsingPlayer, isValidEngineEntity, loadEntity, onEquip, onEquip, onFirstCreation, onFluidContainerUpdate, onReceiveEntityPacket, onUnEquip, receiveSyncEntity, receiveUpdateUsingPlayer, removeFromWorld, renderlastComponents, requiresEntitySave, saveEntity, sendClientEntityPacket, sendComponentEvent, sendComponentEvent, sendEntityEvent, sendEntityEvent, sendServerEntityPacket, sendServerEntityPacketTo, sendSyncEntity, sendUpdateUsingPlayer, setUsingPlayer
-
Field Details
-
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 -
ppfHighlighted
public byte ppfHighlighted -
ppfHighlightRenderOnce
public byte ppfHighlightRenderOnce -
ppfBlink
public byte ppfBlink -
bSatChair
public boolean bSatChair -
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
-
alpha
public final float[] alpha -
targetAlpha
protected final float[] targetAlpha -
renderInfo
-
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 -
windRenderEffects
-
objectRenderEffects
-
externalWaterSource
-
usesExternalWaterSource
protected boolean usesExternalWaterSource -
Children
-
isOutlineHighlight
protected byte isOutlineHighlight -
isOutlineHlAttached
protected byte isOutlineHlAttached -
isOutlineHlBlink
protected byte isOutlineHlBlink -
outlineHighlightCol
protected final int[] outlineHighlightCol -
bMovedThumpable
protected boolean bMovedThumpable -
spriteModelName
-
spriteModel
-
spriteModelInit
-
bAnimating
protected boolean bAnimating -
fireColor
-
renderSquareOverride
-
renderSquareOverride2
-
renderDepthAdjust
public float renderDepthAdjust
-
-
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
-
getLastRenderedRendered
- Returns:
- the lastRenderedRendered
-
setLastRenderedRendered
-
setDefaultCondition
public static void setDefaultCondition(int i) -
getNew
-
getFactoryVehicle
-
factoryGetClassID
-
factoryFromFileInput
-
factoryFromFileInput_OLD
Deprecated. -
factoryClassFromFileInput
Deprecated. -
factoryFromFileInput
-
sync
public void sync() -
syncIsoObject
-
syncIsoObjectSend
-
syncIsoObjectReceive
-
getTextureName
-
Serialize
public boolean Serialize() -
getModData
public se.krka.kahlua.vm.KahluaTable getModData() -
setModData
public void setModData(se.krka.kahlua.vm.KahluaTable kahluaTable) -
hasModData
public boolean hasModData() -
getSquare
- Specified by:
getSquare
in classGameEntity
-
setSquare
-
getChunk
-
update
public void update() -
renderlast
public void renderlast()- Overrides:
renderlast
in classGameEntity
-
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
-
getTable
public se.krka.kahlua.vm.KahluaTable getTable() -
setTable
public void setTable(se.krka.kahlua.vm.KahluaTable kahluaTable) -
setAlpha
public void setAlpha(float _alpha) -
setAlpha
public void setAlpha(int playerIndex, float _alpha) -
setAlphaToTarget
public void setAlphaToTarget(int playerIndex) -
setAlphaAndTarget
public void setAlphaAndTarget(float _alpha) -
setAlphaAndTarget
public void setAlphaAndTarget(int playerIndex, float _alpha) -
getAlpha
public float getAlpha()- Returns:
- the alpha
-
getAlpha
public float getAlpha(int playerIndex) -
getAttachedAnimSprite
- Returns:
- the AttachedAnimSprite
-
setAttachedAnimSprite
-
getAttachedAnimSpriteCount
public int getAttachedAnimSpriteCount() -
hasAttachedAnimSprites
public boolean hasAttachedAnimSprites() -
addAttachedAnimSpriteInstance
-
addAttachedAnimSprite
-
addAttachedAnimSpriteByName
-
getCell
- Returns:
- the cell
-
getChildSprites
- Returns:
- the AttachedAnimSprite
-
setChildSprites
-
clearAttachedAnimSprite
public void clearAttachedAnimSprite() -
getContainer
- Returns:
- the container
-
setContainer
-
getDir
- Returns:
- the dir
-
setDir
-
setDir
public void setDir(int _dir) -
getDamage
public short getDamage()- Returns:
- the Damage
-
setDamage
public void setDamage(short _Damage) -
isNoPicking
public boolean isNoPicking()- Returns:
- the NoPicking
-
setNoPicking
public void setNoPicking(boolean _NoPicking) -
isOutlineOnMouseover
public boolean isOutlineOnMouseover()- Returns:
- the OutlineOnMouseover
-
setOutlineOnMouseover
public void setOutlineOnMouseover(boolean _OutlineOnMouseover) -
getRerouteMask
- Returns:
- the rerouteMask
-
setRerouteMask
-
getSprite
- Returns:
- the sprite
-
setSprite
-
setSprite
-
setSpriteFromName
-
getSpriteGrid
-
hasSpriteGrid
public boolean hasSpriteGrid() -
getTargetAlpha
public float getTargetAlpha()- Returns:
- the targetAlpha
-
setTargetAlpha
public void setTargetAlpha(float _targetAlpha) -
setTargetAlpha
public void setTargetAlpha(int playerIndex, float _targetAlpha) -
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() -
checkMoveWithWind
protected void checkMoveWithWind() -
checkMoveWithWind
protected void checkMoveWithWind(boolean boolean0) -
reset
public void reset()- Overrides:
reset
in classGameEntity
-
customHashCode
public long customHashCode() -
SetName
-
getName
-
setName
-
getSpriteName
-
getTile
-
setTile
-
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) -
getOffsetY
public float getOffsetY() -
setOffsetY
public void setOffsetY(float _offsetY) -
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
-
FindExternalWaterSource
-
FindWaterSourceOnSquare
-
getPipedFuelAmount
public int getPipedFuelAmount() -
setPipedFuelAmount
public void setPipedFuelAmount(int units) -
getFluidAmount
public float getFluidAmount() -
emptyFluid
public void emptyFluid() -
getFluidCapacity
public float getFluidCapacity() -
useFluid
public float useFluid(float float0) -
addFluid
-
transferFluidTo
-
transferFluidFrom
-
moveFluidToTemporaryContainer
-
getFluidUiName
-
hasFluid
public boolean hasFluid() -
hasWater
public boolean hasWater() -
isTaintedWater
public boolean isTaintedWater() -
replaceItem
-
useItemOn
Deprecated. -
isCanPath
public boolean isCanPath() -
getX
public float getX()- Specified by:
getX
in classGameEntity
-
getY
public float getY()- Specified by:
getY
in classGameEntity
-
getZ
public float getZ()- Specified by:
getZ
in classGameEntity
-
onMouseLeftClick
public boolean onMouseLeftClick(int x, int y) -
getProperties
-
RemoveAttachedAnims
public void RemoveAttachedAnims() -
RemoveAttachedAnim
public void RemoveAttachedAnim(int index) -
afterRotated
public void afterRotated() -
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(IsoDirections isoDirections, float float2, float float1, float float0, ColorInfo colorInfo, boolean boolean0, boolean boolean1, Shader shader, Consumer<TextureDraw> consumer) -
renderWallTileDepth
public void renderWallTileDepth(IsoDirections isoDirections, boolean boolean1, boolean boolean2, boolean boolean3, int int1, float float1, float float2, float float3, ColorInfo colorInfo0, Shader var10, Consumer<TextureDraw> consumer) -
renderWallTileOnly
public void renderWallTileOnly(IsoDirections isoDirections, float float2, float float3, float float4, ColorInfo colorInfo0, Shader shader, Consumer<TextureDraw> consumer) -
renderAttachedAndOverlaySprites
public void renderAttachedAndOverlaySprites(IsoDirections isoDirections, float float0, float float1, float float2, ColorInfo colorInfo, boolean boolean0, boolean boolean1, Shader shader, Consumer<TextureDraw> consumer) -
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 int0) -
updateAlpha
protected void updateAlpha(int int0, float float0, float float1) -
isSpriteInvisible
public boolean isSpriteInvisible() -
renderFxMask
public void renderFxMask(float x, float y, float z, boolean bDoAttached) -
renderObjectPicker
-
TestPathfindCollide
-
TestCollide
-
TestVision
-
getCurrentFrameTex
-
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
-
hasObjectAmbientEmitter
protected boolean hasObjectAmbientEmitter() -
addObjectAmbientEmitter
-
addToWorld
public void addToWorld()- Overrides:
addToWorld
in classGameEntity
-
removeFromWorld
public void removeFromWorld()- Overrides:
removeFromWorld
in classGameEntity
-
removeFromWorldToMeta
public final void removeFromWorldToMeta() -
reuseGridSquare
public void reuseGridSquare() -
removeFromSquare
public void removeFromSquare() -
transmitCustomColorToClients
public void transmitCustomColorToClients() -
transmitCompleteItemToClients
public void transmitCompleteItemToClients() -
transmitUpdatedSpriteToClients
-
transmitUpdatedSpriteToClients
public void transmitUpdatedSpriteToClients() -
transmitUpdatedSprite
public void transmitUpdatedSprite() -
sendObjectChange
-
sendObjectChange
-
sendObjectChange
-
saveChange
public void saveChange(String string, se.krka.kahlua.vm.KahluaTable kahluaTable, ByteBuffer byteBuffer) -
loadChange
-
transmitUpdatedSpriteToServer
Deprecated. -
transmitCompleteItemToServer
Deprecated. -
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) -
hasOverlaySprite
public boolean hasOverlaySprite() -
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) -
isHighlightRenderOnce
public boolean isHighlightRenderOnce() -
setHighlightRenderOnce
public void setHighlightRenderOnce(boolean boolean0) -
isHighlighted
public boolean isHighlighted(int int0) -
setHighlighted
public void setHighlighted(int int0, boolean boolean0) -
setHighlighted
public void setHighlighted(int int0, boolean boolean0, boolean boolean1) -
isHighlightRenderOnce
public boolean isHighlightRenderOnce(int int0) -
setHighlightRenderOnce
public void setHighlightRenderOnce(int int0, boolean boolean0) -
getHighlightColor
-
setHighlightColor
-
setHighlightColor
public void setHighlightColor(float r, float g, float b, float a) -
isBlink
public boolean isBlink() -
setBlink
public void setBlink(boolean blink) -
isBlink
public boolean isBlink(int int0) -
setBlink
public void setBlink(int int0, boolean boolean0) -
isSatChair
public boolean isSatChair() -
setSatChair
public void setSatChair(boolean boolean0) -
checkHaveElectricity
public void checkHaveElectricity() -
checkAmbientSound
public void checkAmbientSound() -
getContainerCount
public int getContainerCount() -
getContainerByIndex
-
getContainerByType
-
getContainerByEitherType
-
addSecondaryContainer
-
getContainerIndex
-
removeAllContainers
public void removeAllContainers() -
createFluidContainersFromSpriteProperties
public void createFluidContainersFromSpriteProperties() -
createContainersFromSpriteProperties
public void createContainersFromSpriteProperties() -
isItemAllowedInContainer
-
isRemoveItemAllowedFromContainer
-
cleanWallBlood
public void cleanWallBlood() -
getWindRenderEffects
-
getObjectRenderEffects
-
setRenderEffect
-
getRenderEffectMaster
-
getRenderEffectObjectCount
public int getRenderEffectObjectCount() -
getRenderEffectObjectByIndex
-
setRenderEffect
-
removeRenderEffect
-
getObjectRenderEffectsToApply
-
destroyFence
-
getSpriteGridObjects
-
getSpriteGridObjectsExcludingSelf
-
getSpriteGridObjectsIncludingSelf
-
getSpriteGridObjects
-
isConnectedSpriteGridObject
-
isOnScreen
public boolean isOnScreen() -
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) -
addItemsFromProperties
protected void addItemsFromProperties() -
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
-
toString
-
getGameEntityType
- Specified by:
getGameEntityType
in classGameEntity
-
getEntityNetID
public long getEntityNetID()- Specified by:
getEntityNetID
in classGameEntity
-
isEntityValid
public boolean isEntityValid()- Specified by:
isEntityValid
in classGameEntity
-
getMasterObject
-
isTent
public boolean isTent() -
getFacing
-
getTileName
-
addItemToObjectSurface
-
addItemToObjectSurface
-
getRenderInfo
-
invalidateRenderChunkLevel
public void invalidateRenderChunkLevel(long long0) -
invalidateVispolyChunkLevel
public void invalidateVispolyChunkLevel() -
hasAnimatedAttachments
public boolean hasAnimatedAttachments() -
renderAnimatedAttachments
public void renderAnimatedAttachments(float float4, float float5, float float6, ColorInfo colorInfo) -
getRenderSquare
-
setSpriteModelName
-
getSpriteModel
-
renderModel
-
isAnimating
public boolean isAnimating() -
setAnimating
public void setAnimating(boolean boolean0) -
onAnimationFinished
public void onAnimationFinished() -
updateRenderInfoForObjectPicker
protected void updateRenderInfoForObjectPicker(float float1, float float3, float float6, ColorInfo colorInfo) -
isGrave
public boolean isGrave() -
getOnOverlay
-
setOnOverlay
-
clearOnOverlay
public void clearOnOverlay() -
shouldShowOnOverlay
public boolean shouldShowOnOverlay() -
getLightSource
-
setLightSource
-
shouldLightSourceBeActive
protected boolean shouldLightSourceBeActive() -
addLightSourceToWorld
protected void addLightSourceToWorld() -
removeLightSourceFromWorld
protected void removeLightSourceFromWorld() -
checkLightSourceActive
public void checkLightSourceActive() -
isGenericCraftingSurface
public boolean isGenericCraftingSurface() -
isBush
public boolean isBush() -
isFascia
public boolean isFascia() -
getFasciaAttachedSquare
-
setExplored
public void setExplored(boolean boolean0)
-