Package zombie.iso

Class IsoGridSquare

java.lang.Object
zombie.iso.IsoGridSquare

public final class IsoGridSquare extends Object
  • Field Details

    • collideMatrix

      public int collideMatrix
    • pathMatrix

      public int pathMatrix
    • visionMatrix

      public int visionMatrix
    • room

      public IsoRoom room
    • w

      public IsoGridSquare w
    • nw

      public IsoGridSquare nw
    • sw

      public IsoGridSquare sw
    • s

      public IsoGridSquare s
    • n

      public IsoGridSquare n
    • ne

      public IsoGridSquare ne
    • se

      public IsoGridSquare se
    • e

      public IsoGridSquare e
    • haveSheetRope

      public boolean haveSheetRope
    • ObjectsSyncCount

      public int ObjectsSyncCount
    • roofHideBuilding

      public IsoBuilding roofHideBuilding
    • bFlattenGrassEtc

      public boolean bFlattenGrassEtc
    • lighting

      public final IsoGridSquare.ILighting[] lighting
    • x

      public int x
    • y

      public int y
    • z

      public int z
    • CachedScreenX

      public float CachedScreenX
    • CachedScreenY

      public float CachedScreenY
    • SolidFloorCached

      public boolean SolidFloorCached
    • SolidFloor

      public boolean SolidFloor
    • chunk

      public IsoChunk chunk
    • roomID

      public int roomID
    • ID

      public Integer ID
    • zone

      public IsoMetaGrid.Zone zone
    • haveRoof

      public boolean haveRoof
    • isoGridSquareCache

      public static final ConcurrentLinkedQueue<IsoGridSquare> isoGridSquareCache
    • loadGridSquareCache

      public static ArrayDeque<IsoGridSquare> loadGridSquareCache
    • gridSquareCacheEmptyTimer

      public static int gridSquareCacheEmptyTimer
    • RecalcLightTime

      public static int RecalcLightTime
    • choices

      public static final ArrayList<IsoGridSquare> choices
    • USE_WALL_SHADER

      public static boolean USE_WALL_SHADER
    • isSolidFloorCache

      public boolean isSolidFloorCache
    • isExteriorCache

      public boolean isExteriorCache
    • isVegitationCache

      public boolean isVegitationCache
    • hourLastSeen

      public int hourLastSeen
    • IDMax

      public static int IDMax
    • hashCodeObjects

      public long hashCodeObjects
    • cellGetSquare

      public static final IsoGridSquare.CellGetSquare cellGetSquare
    • propertiesDirty

      public boolean propertiesDirty
    • UseSlowCollision

      public static boolean UseSlowCollision
    • isOnScreenLast

      public static boolean isOnScreenLast
    • CircleStencil

      public static boolean CircleStencil
    • rmod

      public static float rmod
    • gmod

      public static float gmod
    • bmod

      public static float bmod
    • WALL_TYPE_N

      public static final int WALL_TYPE_N
      See Also:
    • WALL_TYPE_S

      public static final int WALL_TYPE_S
      See Also:
    • WALL_TYPE_W

      public static final int WALL_TYPE_W
      See Also:
    • WALL_TYPE_E

      public static final int WALL_TYPE_E
      See Also:
  • Constructor Details

    • IsoGridSquare

      public IsoGridSquare(IsoCell cell, SliceY slice, int x, int y, int z)
  • Method Details

    • getMatrixBit

      public static boolean getMatrixBit(int matrix, int x, int y, int z)
    • getMatrixBit

      public static boolean getMatrixBit(int matrix, byte x, byte y, byte z)
    • setMatrixBit

      public static int setMatrixBit(int matrix, int x, int y, int z, boolean val)
    • setMatrixBit

      public static int setMatrixBit(int matrix, byte x, byte y, byte z, boolean val)
    • setPlayerCutawayFlag

      public void setPlayerCutawayFlag(int playerIndex, boolean bCutaway, long currentTimeMillis)
    • getPlayerCutawayFlag

      public boolean getPlayerCutawayFlag(int playerIndex, long currentTimeMillis)
    • setIsDissolved

      public void setIsDissolved(int playerIndex, boolean bDissolved, long currentTimeMillis)
    • getIsDissolved

      public boolean getIsDissolved(int playerIndex, long currentTimeMillis)
    • getWater

      public IsoWaterGeometry getWater()
    • clearWater

      public void clearWater()
    • getPuddles

      public IsoPuddlesGeometry getPuddles()
    • clearPuddles

      public void clearPuddles()
    • getPuddlesInGround

      public float getPuddlesInGround()
    • getOcclusionData

      public IsoGridOcclusionData getOcclusionData()
    • getOrCreateOcclusionData

      public IsoGridOcclusionData getOrCreateOcclusionData()
    • softClear

      public void softClear()
    • getGridSneakModifier

      public float getGridSneakModifier(boolean onlySolidTrans)
      Check if there's any object on this grid that has a sneak modifier, we use this to check if we reduce the chance of being spotted while crouching
      Returns:
    • isSomethingTo

      public boolean isSomethingTo(IsoGridSquare other)
    • getTransparentWallTo

      public IsoObject getTransparentWallTo(IsoGridSquare other)
    • isWallTo

      public boolean isWallTo(IsoGridSquare other)
    • isWindowTo

      public boolean isWindowTo(IsoGridSquare other)
    • haveDoor

      public boolean haveDoor()
    • hasDoorOnEdge

      public boolean hasDoorOnEdge(IsoDirections edge, boolean ignoreOpen)
    • isDoorTo

      public boolean isDoorTo(IsoGridSquare other)
    • isBlockedTo

      public boolean isBlockedTo(IsoGridSquare other)
    • isWindowBlockedTo

      public boolean isWindowBlockedTo(IsoGridSquare other)
    • hasBlockedWindow

      public boolean hasBlockedWindow(boolean north)
    • isDoorBlockedTo

      public boolean isDoorBlockedTo(IsoGridSquare other)
    • hasBlockedDoor

      public boolean hasBlockedDoor(boolean north)
    • getCurtain

      public IsoCurtain getCurtain(IsoObjectType curtainType)
    • getHoppable

      public IsoObject getHoppable(boolean north)
    • getHoppableTo

      public IsoObject getHoppableTo(IsoGridSquare next)
    • isHoppableTo

      public boolean isHoppableTo(IsoGridSquare other)
    • discard

      public void discard()
    • DistTo

      public float DistTo(int x, int y)
    • DistTo

      public float DistTo(IsoGridSquare sq)
    • DistToProper

      public float DistToProper(IsoGridSquare sq)
    • DistTo

      public float DistTo(IsoMovingObject other)
    • DistToProper

      public float DistToProper(IsoMovingObject other)
    • isSafeToSpawn

      public boolean isSafeToSpawn()
    • isSafeToSpawn

      public void isSafeToSpawn(IsoGridSquare sq, int depth)
    • auth

      public static boolean auth(String username, char[] pw)
    • DoCutawayShader

      public void DoCutawayShader(IsoObject obj, IsoDirections dir, boolean cutawaySW, boolean cutawayNW, boolean cutawayNE, boolean bHasDoorN, boolean bHasDoorW, boolean bHasWindowN, boolean bHasWindowW, WallShaperWhole texdModifier)
    • DoCutawayShaderSprite

      public void DoCutawayShaderSprite(IsoSprite sprite, IsoDirections dir, boolean cutawaySW, boolean cutawayNW, boolean cutawayNE)
    • DoWallLightingNW

      public int DoWallLightingNW(IsoObject obj, int stenciled, boolean cutawaySW, boolean cutawayNW, boolean cutawayNE, boolean bHasDoorN, boolean bHasDoorW, boolean bHasWindowN, boolean bHasWindowW, Shader wallRenderShader)
    • DoWallLightingN

      public int DoWallLightingN(IsoObject obj, int stenciled, boolean cutawayNW, boolean cutawayNE, boolean bHasDoorN, boolean bHasWindowN, Shader wallRenderShader)
    • DoWallLightingW

      public int DoWallLightingW(IsoObject obj, int stenciled, boolean cutawaySW, boolean cutawayNW, boolean bHasDoorW, boolean bHasWindowW, Shader wallRenderShader)
    • getLuaMovingObjectList

      public se.krka.kahlua.vm.KahluaTable getLuaMovingObjectList()
    • Is

      public boolean Is(IsoFlagType flag)
    • Is

      public boolean Is(String flag)
    • Has

      public boolean Has(IsoObjectType type)
    • DeleteTileObject

      public void DeleteTileObject(IsoObject obj)
    • getLuaTileObjectList

      public se.krka.kahlua.vm.KahluaTable getLuaTileObjectList()
    • HasStairs

      public boolean HasStairs()
    • HasStairsNorth

      public boolean HasStairsNorth()
    • HasStairsWest

      public boolean HasStairsWest()
    • HasStairsBelow

      public boolean HasStairsBelow()
    • HasElevatedFloor

      public boolean HasElevatedFloor()
    • isSameStaircase

      public boolean isSameStaircase(int x, int y, int z)
    • HasSlopedRoof

      public boolean HasSlopedRoof()
    • HasSlopedRoofWest

      public boolean HasSlopedRoofWest()
    • HasSlopedRoofNorth

      public boolean HasSlopedRoofNorth()
    • HasTree

      public boolean HasTree()
    • getTree

      public IsoTree getTree()
    • shouldSave

      public boolean shouldSave()
    • save

      public void save(ByteBuffer output, ObjectOutputStream outputObj) throws IOException
      Throws:
      IOException
    • save

      public void save(ByteBuffer output, ObjectOutputStream outputObj, boolean IS_DEBUG_SAVE) throws IOException
      Throws:
      IOException
    • isCommonGrass

      public boolean isCommonGrass()
    • toBoolean

      public static boolean toBoolean(byte[] data)
    • removeCorpse

      public void removeCorpse(IsoDeadBody body, boolean bRemote)
    • getDeadBody

      public IsoDeadBody getDeadBody()
    • getDeadBodys

      public List<IsoDeadBody> getDeadBodys()
    • addCorpse

      public void addCorpse(IsoDeadBody body, boolean bRemote)
    • getBrokenGlass

      public IsoBrokenGlass getBrokenGlass()
    • addBrokenGlass

      public IsoBrokenGlass addBrokenGlass()
    • load

      public void load(ByteBuffer b, int WorldVersion) throws IOException
      Throws:
      IOException
    • load

      public void load(ByteBuffer b, int WorldVersion, boolean IS_DEBUG_SAVE) throws IOException
      Throws:
      IOException
    • scoreAsWaypoint

      public float scoreAsWaypoint(int x, int y)
    • InvalidateSpecialObjectPaths

      public void InvalidateSpecialObjectPaths()
    • isSolid

      public boolean isSolid()
    • isSolidTrans

      public boolean isSolidTrans()
    • isFree

      public boolean isFree(boolean bCountOtherCharacters)
    • isFreeOrMidair

      public boolean isFreeOrMidair(boolean bCountOtherCharacters)
    • isFreeOrMidair

      public boolean isFreeOrMidair(boolean bCountOtherCharacters, boolean bDoZombie)
    • connectedWithFloor

      public boolean connectedWithFloor()
      Check if there's at least one solid floor around this tile, used to build wooden floor
      Returns:
    • hasFloor

      public boolean hasFloor(boolean north)
      Check if a tile has a solid floor, used to build stuff at z level > 0 Also gonna check the tile "behind" the one w<e're trying to build something has a floor (only one is required)
      Parameters:
      north - is the item we're trying to place facing north or not
      Returns:
    • isNotBlocked

      public boolean isNotBlocked(boolean bCountOtherCharacters)
    • getDoor

      public IsoObject getDoor(boolean north)
    • getIsoDoor

      public IsoDoor getIsoDoor()
    • getDoorTo

      public IsoObject getDoorTo(IsoGridSquare next)
      Get the door between this grid and the next in parameter
      Parameters:
      next -
      Returns:
    • getWindow

      public IsoWindow getWindow(boolean north)
    • getWindow

      public IsoWindow getWindow()
    • getWindowTo

      public IsoWindow getWindowTo(IsoGridSquare next)
      Get the IsoWindow window between this grid and the next in parameter
      Parameters:
      next -
      Returns:
    • isAdjacentToWindow

      public boolean isAdjacentToWindow()
    • getThumpableWindow

      public IsoThumpable getThumpableWindow(boolean north)
    • getWindowThumpableTo

      public IsoThumpable getWindowThumpableTo(IsoGridSquare next)
      Get the IsoThumpable window between this grid and the next in parameter
      Parameters:
      next -
      Returns:
    • getHoppableThumpable

      public IsoThumpable getHoppableThumpable(boolean north)
    • getHoppableThumpableTo

      public IsoThumpable getHoppableThumpableTo(IsoGridSquare next)
    • getWallHoppable

      public IsoObject getWallHoppable(boolean north)
    • getWallHoppableTo

      public IsoObject getWallHoppableTo(IsoGridSquare next)
    • getBedTo

      public IsoObject getBedTo(IsoGridSquare next)
    • getWindowFrame

      public IsoObject getWindowFrame(boolean north)
    • getWindowFrameTo

      public IsoObject getWindowFrameTo(IsoGridSquare next)
    • hasWindowFrame

      public boolean hasWindowFrame()
    • hasWindowOrWindowFrame

      public boolean hasWindowOrWindowFrame()
    • getSheetRope

      public IsoObject getSheetRope()
    • damageSpriteSheetRopeFromBottom

      public boolean damageSpriteSheetRopeFromBottom(IsoPlayer player, boolean north)
    • removeSheetRopeFromBottom

      public boolean removeSheetRopeFromBottom(IsoPlayer player, boolean north)
    • testCollideSpecialObjects

      public IsoObject testCollideSpecialObjects(IsoGridSquare next)
    • getDoorFrameTo

      public IsoObject getDoorFrameTo(IsoGridSquare next)
    • getSquaresForThread

      public static void getSquaresForThread(ArrayDeque<IsoGridSquare> isoGridSquareCacheDest, int count)
    • getNew

      public static IsoGridSquare getNew(IsoCell cell, SliceY slice, int x, int y, int z)
    • getNew

      public static IsoGridSquare getNew(ArrayDeque<IsoGridSquare> isoGridSquareCache, IsoCell cell, SliceY slice, int x, int y, int z)
    • getHashCodeObjects

      @Deprecated public long getHashCodeObjects()
      Deprecated.
    • getHashCodeObjectsInt

      @Deprecated public int getHashCodeObjectsInt()
      Deprecated.
    • recalcHashCodeObjects

      @Deprecated public void recalcHashCodeObjects()
      Deprecated.
    • hashCodeNoOverride

      @Deprecated public int hashCodeNoOverride()
      Deprecated.
    • getTileInDirection

      public IsoGridSquare getTileInDirection(IsoDirections directions)
    • getThumpableWall

      public IsoObject getThumpableWall(boolean bNorth)
    • getHoppableWall

      public IsoObject getHoppableWall(boolean bNorth)
    • getThumpableWallOrHoppable

      public IsoObject getThumpableWallOrHoppable(boolean bNorth)
    • getWallFull

      public Boolean getWallFull()
    • getWall

      public IsoObject getWall(boolean bNorth)
    • getWallSE

      public IsoObject getWallSE()
    • getFloor

      public IsoObject getFloor()
    • getPlayerBuiltFloor

      public IsoObject getPlayerBuiltFloor()
    • interpolateLight

      public void interpolateLight(ColorInfo inf, float x, float y)
    • EnsureSurroundNotNull

      public void EnsureSurroundNotNull()
    • addFloor

      public IsoObject addFloor(String sprite)
    • AddStairs

      public IsoThumpable AddStairs(boolean north, int level, String sprite, String pillarSprite, se.krka.kahlua.vm.KahluaTable table)
    • RecalcAllWithNeighbours

      public void RecalcAllWithNeighbours(boolean bDoReverse)
    • RecalcAllWithNeighbours

      public void RecalcAllWithNeighbours(boolean bDoReverse, IsoGridSquare.GetSquare getter)
    • RecalcAllWithNeighboursMineOnly

      public void RecalcAllWithNeighboursMineOnly()
    • hasSupport

      public boolean hasSupport()
    • getID

      public Integer getID()
      Returns:
      the ID
    • setID

      public void setID(int ID)
      Parameters:
      ID - the ID to set
    • DirtySlice

      public void DirtySlice()
    • setHourSeenToCurrent

      public void setHourSeenToCurrent()
    • splatBlood

      public void splatBlood(int dist, float alpha)
    • haveBlood

      public boolean haveBlood()
    • removeBlood

      public void removeBlood(boolean remote, boolean onlyWall)
    • DoSplat

      public void DoSplat(String id, boolean bFlip, IsoFlagType prop, float offX, float offZ, float alpha)
    • ClearTileObjects

      public void ClearTileObjects()
    • ClearTileObjectsExceptFloor

      public void ClearTileObjectsExceptFloor()
    • RemoveTileObject

      public int RemoveTileObject(IsoObject obj)
    • RemoveTileObjectErosionNoRecalc

      public int RemoveTileObjectErosionNoRecalc(IsoObject obj)
    • AddSpecialObject

      public void AddSpecialObject(IsoObject obj)
    • AddSpecialObject

      public void AddSpecialObject(IsoObject obj, int index)
    • AddTileObject

      public void AddTileObject(IsoObject obj)
    • AddTileObject

      public void AddTileObject(IsoObject obj, int index)
    • placeWallAndDoorCheck

      public int placeWallAndDoorCheck(IsoObject obj, int index)
    • transmitAddObjectToSquare

      public void transmitAddObjectToSquare(IsoObject obj, int index)
    • transmitRemoveItemFromSquare

      public int transmitRemoveItemFromSquare(IsoObject obj)
    • transmitRemoveItemFromSquareOnServer

      public void transmitRemoveItemFromSquareOnServer(IsoObject obj)
    • transmitModdata

      public void transmitModdata()
    • AddWorldInventoryItem

      public void AddWorldInventoryItem(String String, float x, float y, float height, int nbr)
    • AddWorldInventoryItem

      public InventoryItem AddWorldInventoryItem(String String, float x, float y, float height)
    • AddWorldInventoryItem

      public InventoryItem AddWorldInventoryItem(InventoryItem item, float x, float y, float height)
    • AddWorldInventoryItem

      public InventoryItem AddWorldInventoryItem(InventoryItem item, float x, float y, float height, boolean transmit)
    • restackSheetRope

      public void restackSheetRope()
    • Burn

      public void Burn()
    • Burn

      public void Burn(boolean explode)
    • BurnWalls

      public void BurnWalls(boolean explode)
    • BurnWallsTCOnly

      public void BurnWallsTCOnly()
    • BurnTick

      public void BurnTick()
    • CalculateCollide

      public boolean CalculateCollide(IsoGridSquare gridSquare, boolean bVision, boolean bPathfind, boolean bIgnoreSolidTrans)
    • CalculateCollide

      public boolean CalculateCollide(IsoGridSquare gridSquare, boolean bVision, boolean bPathfind, boolean bIgnoreSolidTrans, boolean bIgnoreSolid)
    • CalculateCollide

      public boolean CalculateCollide(IsoGridSquare gridSquare, boolean bVision, boolean bPathfind, boolean bIgnoreSolidTrans, boolean bIgnoreSolid, IsoGridSquare.GetSquare getter)
    • CalculateVisionBlocked

      public boolean CalculateVisionBlocked(IsoGridSquare gridSquare)
    • CalculateVisionBlocked

      public boolean CalculateVisionBlocked(IsoGridSquare gridSquare, IsoGridSquare.GetSquare getter)
    • FindFriend

      public IsoGameCharacter FindFriend(IsoGameCharacter g, int range, Stack<IsoGameCharacter> EnemyList)
    • FindEnemy

      public IsoGameCharacter FindEnemy(IsoGameCharacter g, int range, ArrayList<IsoMovingObject> EnemyList, IsoGameCharacter RangeTest, int TestRangeMax)
    • FindEnemy

      public IsoGameCharacter FindEnemy(IsoGameCharacter g, int range, ArrayList<IsoMovingObject> EnemyList)
    • getX

      public int getX()
    • getY

      public int getY()
    • getZ

      public int getZ()
    • RecalcProperties

      public void RecalcProperties()
    • RecalcPropertiesIfNeeded

      public void RecalcPropertiesIfNeeded()
    • ReCalculateCollide

      public void ReCalculateCollide(IsoGridSquare square)
    • ReCalculateCollide

      public void ReCalculateCollide(IsoGridSquare square, IsoGridSquare.GetSquare getter)
    • ReCalculatePathFind

      public void ReCalculatePathFind(IsoGridSquare square)
    • ReCalculatePathFind

      public void ReCalculatePathFind(IsoGridSquare square, IsoGridSquare.GetSquare getter)
    • ReCalculateVisionBlocked

      public void ReCalculateVisionBlocked(IsoGridSquare square)
    • ReCalculateVisionBlocked

      public void ReCalculateVisionBlocked(IsoGridSquare square, IsoGridSquare.GetSquare getter)
    • testCollideAdjacent

      public boolean testCollideAdjacent(IsoMovingObject collideObject, int x, int y, int z)
    • testCollideAdjacentAdvanced

      public boolean testCollideAdjacentAdvanced(int x, int y, int z, boolean ignoreDoors)
    • setCollisionMode

      public static void setCollisionMode()
    • testPathFindAdjacent

      public boolean testPathFindAdjacent(IsoMovingObject mover, int x, int y, int z)
    • testPathFindAdjacent

      public boolean testPathFindAdjacent(IsoMovingObject mover, int x, int y, int z, IsoGridSquare.GetSquare getter)
    • testVisionAdjacent

      public LosUtil.TestResults testVisionAdjacent(int x, int y, int z, boolean specialDiag, boolean bIgnoreDoors)
    • TreatAsSolidFloor

      public boolean TreatAsSolidFloor()
    • AddSpecialTileObject

      public void AddSpecialTileObject(IsoObject obj)
    • renderCharacters

      public void renderCharacters(int maxZ, boolean deadRender, boolean doBlendFunc)
    • renderDeferredCharacters

      public void renderDeferredCharacters(int maxZ)
    • switchLight

      public void switchLight(boolean active)
    • removeLightSwitch

      public void removeLightSwitch()
    • IsOnScreen

      public boolean IsOnScreen()
    • IsOnScreen

      public boolean IsOnScreen(boolean halfTileBorder)
    • setLightInfoServerGUIOnly

      public void setLightInfoServerGUIOnly(ColorInfo c)
    • RenderOpenDoorOnly

      public void RenderOpenDoorOnly()
    • RenderMinusFloorFxMask

      public boolean RenderMinusFloorFxMask(int maxZ, boolean doSE, boolean vegitationRender)
    • getContainerItem

      public IsoObject getContainerItem(String type)
    • StartFire

      @Deprecated public void StartFire()
      Deprecated.
    • explode

      public void explode()
    • getHourLastSeen

      public int getHourLastSeen()
    • getHoursSinceLastSeen

      public float getHoursSinceLastSeen()
    • CalcVisibility

      public void CalcVisibility(int playerIndex)
    • getZombie

      public IsoZombie getZombie()
    • getPlayer

      public IsoPlayer getPlayer()
    • getDarkStep

      public static float getDarkStep()
      Returns:
      the darkStep
    • setDarkStep

      public static void setDarkStep(float aDarkStep)
      Parameters:
      aDarkStep - the darkStep to set
    • getRecalcLightTime

      public static int getRecalcLightTime()
      Returns:
      the RecalcLightTime
    • setRecalcLightTime

      public static void setRecalcLightTime(int aRecalcLightTime)
      Parameters:
      aRecalcLightTime - the RecalcLightTime to set
    • getLightcache

      public static int getLightcache()
      Returns:
      the lightcache
    • setLightcache

      public static void setLightcache(int aLightcache)
      Parameters:
      aLightcache - the lightcache to set
    • isCouldSee

      public boolean isCouldSee(int playerIndex)
      Returns:
      the bCouldSee
    • setCouldSee

      public void setCouldSee(int playerIndex, boolean bCouldSee)
      Parameters:
      bCouldSee - the bCouldSee to set
    • isCanSee

      public boolean isCanSee(int playerIndex)
      Returns:
      the canSee
    • setCanSee

      public void setCanSee(int playerIndex, boolean canSee)
      Parameters:
      canSee - the canSee to set
    • getCell

      public IsoCell getCell()
      Returns:
      the getCell()
    • getE

      public IsoGridSquare getE()
      Returns:
      the e
    • setE

      public void setE(IsoGridSquare e)
      Parameters:
      e - the e to set
    • getLightInfluenceB

      public ArrayList<Float> getLightInfluenceB()
      Returns:
      the LightInfluenceB
    • setLightInfluenceB

      public void setLightInfluenceB(ArrayList<Float> LightInfluenceB)
      Parameters:
      LightInfluenceB - the LightInfluenceB to set
    • getLightInfluenceG

      public ArrayList<Float> getLightInfluenceG()
      Returns:
      the LightInfluenceG
    • setLightInfluenceG

      public void setLightInfluenceG(ArrayList<Float> LightInfluenceG)
      Parameters:
      LightInfluenceG - the LightInfluenceG to set
    • getLightInfluenceR

      public ArrayList<Float> getLightInfluenceR()
      Returns:
      the LightInfluenceR
    • setLightInfluenceR

      public void setLightInfluenceR(ArrayList<Float> LightInfluenceR)
      Parameters:
      LightInfluenceR - the LightInfluenceR to set
    • getStaticMovingObjects

      public ArrayList<IsoMovingObject> getStaticMovingObjects()
      Returns:
      the StaticMovingObjects
    • getMovingObjects

      public ArrayList<IsoMovingObject> getMovingObjects()
      Returns:
      the MovingObjects
    • getN

      public IsoGridSquare getN()
      Returns:
      the n
    • setN

      public void setN(IsoGridSquare n)
      Parameters:
      n - the n to set
    • getObjects

      public PZArrayList<IsoObject> getObjects()
      Returns:
      the Objects
    • getProperties

      public PropertyContainer getProperties()
      Returns:
      the Properties
    • getRoom

      public IsoRoom getRoom()
      Returns:
      the room
    • setRoom

      public void setRoom(IsoRoom room)
      Parameters:
      room - the room to set
    • getBuilding

      public IsoBuilding getBuilding()
    • getS

      public IsoGridSquare getS()
      Returns:
      the s
    • setS

      public void setS(IsoGridSquare s)
      Parameters:
      s - the s to set
    • getSpecialObjects

      public ArrayList<IsoObject> getSpecialObjects()
      Returns:
      the SpecialObjects
    • getW

      public IsoGridSquare getW()
      Returns:
      the w
    • setW

      public void setW(IsoGridSquare w)
      Parameters:
      w - the w to set
    • getLampostTotalR

      public float getLampostTotalR()
      Returns:
      the lampostTotalR
    • setLampostTotalR

      public void setLampostTotalR(float lampostTotalR)
      Parameters:
      lampostTotalR - the lampostTotalR to set
    • getLampostTotalG

      public float getLampostTotalG()
      Returns:
      the lampostTotalG
    • setLampostTotalG

      public void setLampostTotalG(float lampostTotalG)
      Parameters:
      lampostTotalG - the lampostTotalG to set
    • getLampostTotalB

      public float getLampostTotalB()
      Returns:
      the lampostTotalB
    • setLampostTotalB

      public void setLampostTotalB(float lampostTotalB)
      Parameters:
      lampostTotalB - the lampostTotalB to set
    • isSeen

      public boolean isSeen(int playerIndex)
      Returns:
      the bSeen
    • setIsSeen

      public void setIsSeen(int playerIndex, boolean bSeen)
      Parameters:
      bSeen - the bSeen to set
    • getDarkMulti

      public float getDarkMulti(int playerIndex)
      Returns:
      the darkMulti
    • setDarkMulti

      public void setDarkMulti(int playerIndex, float darkMulti)
      Parameters:
      darkMulti - the darkMulti to set
    • getTargetDarkMulti

      public float getTargetDarkMulti(int playerIndex)
      Returns:
      the targetDarkMulti
    • setTargetDarkMulti

      public void setTargetDarkMulti(int playerIndex, float targetDarkMulti)
      Parameters:
      targetDarkMulti - the targetDarkMulti to set
    • setX

      public void setX(int x)
      Parameters:
      x - the x to set
    • setY

      public void setY(int y)
      Parameters:
      y - the y to set
    • setZ

      public void setZ(int z)
      Parameters:
      z - the z to set
    • getDeferedCharacters

      public ArrayList<IsoGameCharacter> getDeferedCharacters()
      Returns:
      the DeferedCharacters
    • addDeferredCharacter

      public void addDeferredCharacter(IsoGameCharacter chr)
    • isCacheIsFree

      public boolean isCacheIsFree()
      Returns:
      the CacheIsFree
    • setCacheIsFree

      public void setCacheIsFree(boolean CacheIsFree)
      Parameters:
      CacheIsFree - the CacheIsFree to set
    • isCachedIsFree

      public boolean isCachedIsFree()
      Returns:
      the CachedIsFree
    • setCachedIsFree

      public void setCachedIsFree(boolean CachedIsFree)
      Parameters:
      CachedIsFree - the CachedIsFree to set
    • isbDoSlowPathfinding

      public static boolean isbDoSlowPathfinding()
      Returns:
      the bDoSlowPathfinding
    • setbDoSlowPathfinding

      public static void setbDoSlowPathfinding(boolean abDoSlowPathfinding)
      Parameters:
      abDoSlowPathfinding - the bDoSlowPathfinding to set
    • isSolidFloorCached

      public boolean isSolidFloorCached()
      Returns:
      the SolidFloorCached
    • setSolidFloorCached

      public void setSolidFloorCached(boolean SolidFloorCached)
      Parameters:
      SolidFloorCached - the SolidFloorCached to set
    • isSolidFloor

      public boolean isSolidFloor()
      Returns:
      the SolidFloor
    • setSolidFloor

      public void setSolidFloor(boolean SolidFloor)
      Parameters:
      SolidFloor - the SolidFloor to set
    • getDefColorInfo

      public static ColorInfo getDefColorInfo()
      Returns:
      the defColorInfo
    • isOutside

      public boolean isOutside()
    • HasPushable

      public boolean HasPushable()
    • setRoomID

      public void setRoomID(int roomID)
    • getRoomID

      public int getRoomID()
    • getCanSee

      public boolean getCanSee(int playerIndex)
    • getSeen

      public boolean getSeen(int playerIndex)
    • getChunk

      public IsoChunk getChunk()
    • getDoorOrWindow

      public IsoObject getDoorOrWindow(boolean north)
    • getDoorOrWindowOrWindowFrame

      public IsoObject getDoorOrWindowOrWindowFrame(IsoDirections dir, boolean ignoreOpen)
    • getOpenDoor

      public IsoObject getOpenDoor(IsoDirections dir)
    • removeWorldObject

      public void removeWorldObject(IsoWorldInventoryObject object)
    • removeAllWorldObjects

      public void removeAllWorldObjects()
    • getWorldObjects

      public ArrayList<IsoWorldInventoryObject> getWorldObjects()
    • getLocalTemporaryObjects

      public PZArrayList<IsoObject> getLocalTemporaryObjects()
    • getModData

      public se.krka.kahlua.vm.KahluaTable getModData()
    • hasModData

      public boolean hasModData()
    • getHasTypes

      public ZomboidBitFlag getHasTypes()
    • setVertLight

      public void setVertLight(int i, int col, int playerIndex)
    • getVertLight

      public int getVertLight(int i, int playerIndex)
    • setRainDrop

      public void setRainDrop(IsoRaindrop drop)
    • getRainDrop

      public IsoRaindrop getRainDrop()
    • setRainSplash

      public void setRainSplash(IsoRainSplash splash)
    • getRainSplash

      public IsoRainSplash getRainSplash()
    • getZone

      public IsoMetaGrid.Zone getZone()
    • getZoneType

      public String getZoneType()
    • isOverlayDone

      public boolean isOverlayDone()
    • setOverlayDone

      public void setOverlayDone(boolean overlayDone)
    • getErosionData

      public ErosionData.Square getErosionData()
    • disableErosion

      public void disableErosion()
    • removeErosionObject

      public void removeErosionObject(String type)
    • syncIsoTrap

      public void syncIsoTrap(HandWeapon weapon)
    • drawCircleExplosion

      public void drawCircleExplosion(int radius, IsoTrap trap, IsoTrap.ExplosionMode explosionMode)
    • explosion

      public void explosion(IsoTrap trap)
    • smoke

      public void smoke()
    • explodeTrap

      public void explodeTrap()
    • getTrapPositionX

      public int getTrapPositionX()
    • setTrapPositionX

      public void setTrapPositionX(int trapPositionX)
    • getTrapPositionY

      public int getTrapPositionY()
    • setTrapPositionY

      public void setTrapPositionY(int trapPositionY)
    • getTrapPositionZ

      public int getTrapPositionZ()
    • setTrapPositionZ

      public void setTrapPositionZ(int trapPositionZ)
    • haveElectricity

      public boolean haveElectricity()
    • setHaveElectricity

      public void setHaveElectricity(boolean haveElectricity)
    • getGenerator

      public IsoGenerator getGenerator()
    • stopFire

      public void stopFire()
    • transmitStopFire

      public void transmitStopFire()
    • playSound

      public long playSound(String file)
    • playSound

      @Deprecated public long playSound(String file, boolean doWorldSound)
      Deprecated.
    • FixStackableObjects

      public void FixStackableObjects()
    • fixPlacedItemRenderOffsets

      public void fixPlacedItemRenderOffsets()
    • getVehicleContainer

      public BaseVehicle getVehicleContainer()
    • isVehicleIntersecting

      public boolean isVehicleIntersecting()
    • getCompost

      public IsoCompost getCompost()
    • setIsoWorldRegion

      public void setIsoWorldRegion(IsoWorldRegion mr)
    • getIsoWorldRegion

      public IWorldRegion getIsoWorldRegion()
    • ResetIsoWorldRegion

      public void ResetIsoWorldRegion()
    • isInARoom

      public boolean isInARoom()
    • getRoomSize

      public int getRoomSize()
    • getWallType

      public int getWallType()
    • getPuddlesDir

      public int getPuddlesDir()
    • haveFire

      public boolean haveFire()
    • getRoofHideBuilding

      public IsoBuilding getRoofHideBuilding()
    • getAdjacentSquare

      public IsoGridSquare getAdjacentSquare(IsoDirections dir)
    • getAdjacentPathSquare

      public IsoGridSquare getAdjacentPathSquare(IsoDirections dir)
    • getApparentZ

      public float getApparentZ(float dx, float dy)
    • getTotalWeightOfItemsOnFloor

      public float getTotalWeightOfItemsOnFloor()
    • getCollideMatrix

      public boolean getCollideMatrix(int dx, int dy, int dz)
    • getPathMatrix

      public boolean getPathMatrix(int dx, int dy, int dz)
    • getVisionMatrix

      public boolean getVisionMatrix(int dx, int dy, int dz)
    • checkRoomSeen

      public void checkRoomSeen(int playerIndex)
    • hasFlies

      public boolean hasFlies()
    • setHasFlies

      public void setHasFlies(boolean hasFlies)
    • getLightLevel

      public float getLightLevel(int playerIndex)