Package zombie.iso
Class IsoGridSquare
java.lang.Object
zombie.iso.IsoGridSquare
- All Implemented Interfaces:
java.lang.Comparable,INode
public class IsoGridSquare extends java.lang.Object implements java.lang.Comparable, INode
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIsoGridSquare.CellGetSquarestatic interfaceIsoGridSquare.GetSquarestatic interfaceIsoGridSquare.ILightingstatic classIsoGridSquare.Lighting -
Field Summary
-
Constructor Summary
Constructors Constructor Description IsoGridSquare(IsoCell cell, SliceY slice, int x, int y, int z) -
Method Summary
Modifier and Type Method Description voidaddCorpse(IsoDeadBody body, boolean bRemote)voidaddDeferredCharacter(IsoGameCharacter chr)IsoObjectaddFloor(java.lang.String sprite)voidAddSpecialObject(IsoObject obj)voidAddSpecialObject(IsoObject obj, int index)voidAddSpecialTileObject(IsoObject obj)IsoThumpableAddStairs(boolean north, int level, java.lang.String sprite, java.lang.String pillarSprite, KahluaTable table)voidAddTileObject(IsoObject obj)voidAddTileObject(IsoObject obj, int index)InventoryItemAddWorldInventoryItem(java.lang.String String, float x, float y, float height)InventoryItemAddWorldInventoryItem(InventoryItem item, float x, float y, float height)InventoryItemAddWorldInventoryItem(InventoryItem item, float x, float y, float height, boolean transmit)static booleanauth(java.lang.String username, char[] pw)static voidbubbleSort3(java.util.ArrayList x)voidBurn()voidBurn(boolean explode)voidBurnTick()voidBurnWalls(boolean explode)voidBurnWallsTCOnly()voidCalcLightInfo(int playerIndex)booleanCalculateCollide(IsoGridSquare gridSquare, boolean bVision, boolean bPathfind, boolean bIgnoreSolidTrans)booleanCalculateCollide(IsoGridSquare gridSquare, boolean bVision, boolean bPathfind, boolean bIgnoreSolidTrans, boolean bIgnoreSolid)booleanCalculateCollide(IsoGridSquare gridSquare, boolean bVision, boolean bPathfind, boolean bIgnoreSolidTrans, boolean bIgnoreSolid, IsoGridSquare.GetSquare getter)booleanCalculateVisionBlocked(IsoGridSquare gridSquare)booleanCalculateVisionBlocked(IsoGridSquare gridSquare, IsoGridSquare.GetSquare getter)voidCalcVisibility(int playerIndex)voidClearTileObjects()voidClearTileObjectsExceptFloor()voidclientModify()intcompareTo(java.lang.Object other)booleandamageSpriteSheetRopeFromBottom(IsoPlayer player, boolean north)voidDeleteTileObject(IsoObject obj)voidDirtySlice()voiddisableErosion()voiddiscard()floatDistTo(int x, int y)floatDistTo(IsoGridSquare sq)floatDistTo(IsoMovingObject other)floatDistToProper(IsoGridSquare sq)floatDistToProper(IsoMovingObject other)static booleanDoChecksumCheck()static booleanDoChecksumCheck(java.lang.String str, java.lang.String expected)intDoRoofLighting(IsoObject obj, int stenciled, int ax, int ay, int arry)voidDoSplat(java.lang.String id, boolean bFlip, IsoFlagType prop, float offX, float offZ, float alpha)intDoWallLightingN(IsoObject obj, int stenciled, int ax, int ay, int arry)intDoWallLightingNW(int ax, int ay, IsoObject obj, int stenciled, boolean CircleStencil, int arry)intDoWallLightingW(IsoObject obj, int stenciled, int ax, int ay, int arry)voiddrawCircleExplosion(int radius, HandWeapon weapon, boolean sensor)voiddrawCircleExplosion(int radius, IsoTrap trap, boolean sensor)voidEnsureSurroundNotNull()voidexplode()voidexplodeTrap()voidexplosion(IsoTrap trap)IsoGameCharacterFindEnemy(IsoGameCharacter g, int range, java.util.ArrayList EnemyList)IsoGameCharacterFindEnemy(IsoGameCharacter g, int range, java.util.ArrayList EnemyList, IsoGameCharacter RangeTest, int TestRangeMax)IsoGameCharacterFindFriend(IsoGameCharacter g, int range, java.util.Stack EnemyList)voidFixBarricades(int WorldVersion)voidFixStackableObjects()IsoObjectgetBedTo(IsoGridSquare next)static BlockInfogetBlockInfo()IsoBuildinggetBuilding()booleangetCanSee(int playerIndex)IsoCellgetCell()IsoChunkgetChunk()static java.util.ComparatorgetComp()IsoCompostgetCompost()IsoObjectgetContainerItem(java.lang.String type)floatgetDarkMulti(int playerIndex)static floatgetDarkStep()IsoDeadBodygetDeadBody()java.util.ListgetDeadBodys()static ColorInfogetDefColorInfo()java.util.ArrayListgetDeferedCharacters()IsoObjectgetDoor(boolean north)IsoObjectgetDoorFrameTo(IsoGridSquare next)IsoObjectgetDoorOrWindow(boolean north)IsoObjectgetDoorTo(IsoGridSquare next)IsoGridSquaregetE()ErosionData.SquaregetErosionData()static intgetFireRecalc()IsoObjectgetFloor()IsoGeneratorgetGenerator()longgetHashCodeObjects()intgetHashCodeObjectsInt()ZomboidBitFlaggetHasTypes()IsoThumpablegetHoppableThumpable(boolean north)IsoThumpablegetHoppableThumpableTo(IsoGridSquare next)intgetHourLastSeen()floatgetHoursSinceLastSeen()java.lang.IntegergetID()IsoDoorgetIsoDoor()floatgetLampostTotalB()floatgetLampostTotalG()floatgetLampostTotalR()static intgetLightcache()java.util.ArrayListgetLightInfluenceB()java.util.ArrayListgetLightInfluenceG()java.util.ArrayListgetLightInfluenceR()KahluaTablegetLuaMovingObjectList()KahluaTablegetLuaTileObjectList()KahluaTablegetModData()java.util.ArrayListgetMovingObjects()IsoGridSquaregetN()static IsoGridSquaregetNew(IsoCell cell, SliceY slice, int x, int y, int z)IsoGridSquaregetNode()PZArrayListgetObjects()IsoGridOcclusionDatagetOcclusionData()IsoObjectgetOpenDoor(IsoDirections dir)IsoObjectgetPlayerBuiltFloor()PropertyContainergetProperties()IsoRaindropgetRainDrop()IsoRainSplashgetRainSplash()static intgetRecalcLightTime()IsoRoomgetRoom()intgetRoomID()IsoGridSquaregetS()SearchDatagetSearchData(int thread)booleangetSeen(int playerIndex)IsoObjectgetSheetRope()java.util.ArrayListgetSpecialObjects()java.util.ArrayListgetStaticMovingObjects()floatgetTargetDarkMulti(int playerIndex)IsoThumpablegetThumpableWindow(boolean north)IsoGridSquaregetTileInDirection(IsoDirections directions)intgetTrapPositionX()intgetTrapPositionY()intgetTrapPositionZ()BaseVehiclegetVehicleContainer()intgetVertLight(int i, int playerIndex)IsoGridSquaregetW()IsoObjectgetWall(boolean bNorth)IsoWindowgetWindow()IsoWindowgetWindow(boolean north)IsoObjectgetWindowFrame(boolean north)IsoObjectgetWindowFrameTo(IsoGridSquare next)IsoThumpablegetWindowThumpableTo(IsoGridSquare next)IsoWindowgetWindowTo(IsoGridSquare next)java.util.ArrayListgetWorldObjects()intgetX()intgetY()intgetZ()IsoMetaGrid.ZonegetZone()java.lang.StringgetZoneType()booleanHas(IsoObjectType type)booleanhasBlockedDoor(boolean north)booleanhasBlockedWindow(boolean north)booleanHasElevatedFloor()inthashCode()booleanhasModData()booleanHasPushable()booleanHasStairs()booleanHasStairsNorth()booleanHasStairsWest()booleanhasSupport()booleanHasTree()booleanhaveBlood()booleanhaveDoor()booleanhaveElectricity()voidinit(IsoCell cell, SliceY slice, int x, int y, int z)voidinterpolateLight(ColorInfo inf, float x, float y)voidInvalidateSpecialObjectPaths()booleanIs(java.lang.String flag)booleanIs(IsoFlagType flag)booleanisAdjacentToWindow()static booleanisbDoSlowPathfinding()booleanisBlockedTo(IsoGridSquare other)booleanisCachedIsFree()booleanisCacheIsFree()booleanisCanSee(int playerIndex)booleanisCommonGrass()booleanisCouldSee(int playerIndex)booleanisDoorBlockedTo(IsoGridSquare other)booleanisDoorTo(IsoGridSquare other)booleanisFree(boolean bCountOtherCharacters)booleanisFreeOrMidair(boolean bCountOtherCharacters)booleanisFreeOrMidair(boolean bCountOtherCharacters, boolean bDoZombie)booleanisHoppableTo(IsoGridSquare other)booleanisNotBlocked(boolean bCountOtherCharacters)booleanIsOnScreen()booleanisOutside()booleanisOverlayDone()booleanisSafeToSpawn()voidisSafeToSpawn(IsoGridSquare sq, int depth)booleanisSameStaircase(int x, int y, int z)booleanisSeen(int playerIndex)booleanisSolid()booleanisSolidFloor()booleanisSolidFloorCached()booleanisSolidTrans()booleanisSomethingTo(IsoGridSquare other)booleanisVehicleIntersecting()booleanisWallTo(IsoGridSquare other)booleanisWindowBlockedTo(IsoGridSquare other)booleanisWindowTo(IsoGridSquare other)booleanisZone(java.lang.String zone)voidload(java.nio.ByteBuffer b, int WorldVersion)longplaySound(java.lang.String file)longplaySound(java.lang.String file, boolean doWorldSound)Deprecated.voidRecalcAllWithNeighbours(boolean bDoReverse)voidRecalcAllWithNeighbours(boolean bDoReverse, IsoGridSquare.GetSquare getter)voidRecalcAllWithNeighboursMineOnly()voidrecalcHashCodeObjects()voidRecalcProperties()voidRecalcPropertiesIfNeeded()voidReCalculateCollide(IsoGridSquare square)voidReCalculateCollide(IsoGridSquare square, IsoGridSquare.GetSquare getter)voidReCalculatePathFind(IsoGridSquare square)voidReCalculatePathFind(IsoGridSquare square, IsoGridSquare.GetSquare getter)voidReCalculateVisionBlocked(IsoGridSquare square)voidReCalculateVisionBlocked(IsoGridSquare square, IsoGridSquare.GetSquare getter)voidremoveBlood(boolean remote)voidremoveCorpse(IsoDeadBody body, boolean bRemote)voidremoveErosionObject(java.lang.String type)booleanremoveSheetRopeFromBottom(IsoPlayer player, boolean north)intRemoveTileObject(IsoObject obj)intRemoveTileObjectErosionNoRecalc(IsoObject obj)voidremoveWorldObject(IsoWorldInventoryObject object)voidrenderDeferredCharacters(int maxZ)voidrevisionUp()voidsave(java.nio.ByteBuffer output, java.io.ObjectOutputStream outputObj)floatscoreAsWaypoint(int x, int y)static voidsetbDoSlowPathfinding(boolean abDoSlowPathfinding)static voidsetBlockInfo(BlockInfo aBlockInfo)voidsetCachedIsFree(boolean CachedIsFree)voidsetCacheIsFree(boolean CacheIsFree)voidsetCanSee(int playerIndex, boolean canSee)static voidsetCollisionMode()static voidsetComp(java.util.Comparator aComp)voidsetCouldSee(int playerIndex, boolean bCouldSee)voidsetDarkMulti(int playerIndex, float darkMulti)static voidsetDarkStep(float aDarkStep)static voidsetDefColorInfo(ColorInfo aDefColorInfo)voidsetDeferedCharacters(java.util.ArrayList DeferedCharacters)voidsetDirty()voidsetE(IsoGridSquare e)static voidsetFireRecalc(int aFireRecalc)voidsetHaveElectricity(boolean haveElectricity)voidsetHourSeenToCurrent()voidsetID(int ID)voidsetIsSeen(int playerIndex, boolean bSeen)voidsetLampostTotalB(float lampostTotalB)voidsetLampostTotalG(float lampostTotalG)voidsetLampostTotalR(float lampostTotalR)static voidsetLightcache(int aLightcache)voidsetLightInfluenceB(java.util.ArrayList LightInfluenceB)voidsetLightInfluenceG(java.util.ArrayList LightInfluenceG)voidsetLightInfluenceR(java.util.ArrayList LightInfluenceR)voidsetLightInfoServerGUIOnly(ColorInfo c)voidsetMovingObjects(java.util.ArrayList MovingObjects)voidsetN(IsoGridSquare n)voidsetObjects(PZArrayList Objects)voidsetOverlayDone(boolean overlayDone)intsetParent(int thread, int id, IsoGridSquare parent)voidsetProperties(PropertyContainer Properties)voidsetRainDrop(IsoRaindrop drop)voidsetRainSplash(IsoRainSplash splash)static voidsetRecalcLightTime(int aRecalcLightTime)voidsetRoom(IsoRoom room)voidsetRoomID(int roomID)voidsetS(IsoGridSquare s)voidsetSolidFloor(boolean SolidFloor)voidsetSolidFloorCached(boolean SolidFloorCached)voidsetSpecialObjects(java.util.ArrayList SpecialObjects)voidsetStaticMovingObjects(java.util.ArrayList StaticMovingObjects)voidsetTargetDarkMulti(int playerIndex, float targetDarkMulti)voidsetTrapPositionX(int trapPositionX)voidsetTrapPositionY(int trapPositionY)voidsetTrapPositionZ(int trapPositionZ)voidsetVertLight(int i, int col, int playerIndex)voidsetW(IsoGridSquare w)voidsetWorldObjects(java.util.ArrayList worldObjects)voidsetX(int x)voidsetY(int y)voidsetZ(int z)booleanshouldSave()voidsmoke()voidsoftClear()voidsplatBlood(int dist, float alpha)voidStartFire()voidstopFire()voidswitchLight(boolean active)voidsyncIsoTrap(HandWeapon weapon, boolean sensor, boolean instantExplosion)booleantestCollideAdjacent(IsoMovingObject collideObject, int x, int y, int z)booleantestCollideAdjacentAdvanced(int x, int y, int z, boolean ignoreDoors)IsoObjecttestCollideSpecialObjects(IsoGridSquare next)booleantestPathFindAdjacent(IsoMovingObject mover, int x, int y, int z)booleantestPathFindAdjacent(IsoMovingObject mover, int x, int y, int z, IsoGridSquare.GetSquare getter)LosUtil.TestResultstestVisionAdjacent(int x, int y, int z, boolean specialDiag, boolean bIgnoreDoors)static booleantoBoolean(byte[] data)voidtransmitModdata()inttransmitRemoveItemFromSquare(IsoObject obj)voidtransmitRemoveItemFromSquareOnServer(IsoObject obj)voidtransmitStopFire()booleanTreatAsSolidFloor()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
bDirty
public boolean bDirty -
collideMatrix
public boolean[][][] collideMatrix -
pathMatrix
public boolean[][][] pathMatrix -
visionMatrix
public boolean[][][] visionMatrix -
room
-
w
-
nw
-
sw
-
s
-
n
-
ne
-
se
-
e
-
haveSheetRope
public boolean haveSheetRope -
ObjectsSyncCount
public int ObjectsSyncCount -
roofHideBuilding
-
lighting
-
x
public int x -
y
public int y -
z
public int z -
CachedScreenValue
public int CachedScreenValue -
CachedScreenX
public float CachedScreenX -
CachedScreenY
public float CachedScreenY -
SolidFloorCached
public boolean SolidFloorCached -
SolidFloor
public boolean SolidFloor -
chunk
-
roomID
public int roomID -
ID
public java.lang.Integer ID -
zone
-
Objects
-
haveRoof
public boolean haveRoof -
isoGridSquareCache
public static final java.util.ArrayDeque isoGridSquareCache -
isoGridSquareSet
public static final gnu.trove.set.hash.TIntHashSet isoGridSquareSet -
gridSquareCacheEmptyTimer
public static int gridSquareCacheEmptyTimer -
RecalcLightTime
public static int RecalcLightTime -
choices
public static java.util.ArrayList choices -
isSolidFloorCache
public boolean isSolidFloorCache -
isExteriorCache
public boolean isExteriorCache -
isVegitationCache
public boolean isVegitationCache -
DEBUG_SAVE
public static boolean DEBUG_SAVE -
hourLastSeen
public int hourLastSeen -
searchData
-
IDMax
public static int IDMax -
hashCodeObjects
public long hashCodeObjects -
cellGetSquare
-
propertiesDirty
public boolean propertiesDirty -
UseSlowCollision
public static boolean UseSlowCollision -
isOnScreenLast
public static boolean isOnScreenLast -
CircleStencil
public static boolean CircleStencil -
Checksum
public static long Checksum -
TotalChecksum
public static long TotalChecksum -
revision
public long revision
-
-
Constructor Details
-
IsoGridSquare
-
-
Method Details
-
DoChecksumCheck
public static boolean DoChecksumCheck(java.lang.String str, java.lang.String expected) -
DoChecksumCheck
public static boolean DoChecksumCheck() -
getOcclusionData
-
softClear
public void softClear() -
isSomethingTo
-
isWallTo
-
isWindowTo
-
haveDoor
public boolean haveDoor() -
isDoorTo
-
isBlockedTo
-
isWindowBlockedTo
-
hasBlockedWindow
public boolean hasBlockedWindow(boolean north) -
isDoorBlockedTo
-
hasBlockedDoor
public boolean hasBlockedDoor(boolean north) -
isHoppableTo
-
discard
public void discard() -
DistTo
public float DistTo(int x, int y) -
DistTo
-
DistToProper
-
DistTo
-
DistToProper
-
isSafeToSpawn
public boolean isSafeToSpawn() -
isSafeToSpawn
-
auth
public static boolean auth(java.lang.String username, char[] pw) -
DoWallLightingN
-
DoWallLightingNW
public int DoWallLightingNW(int ax, int ay, IsoObject obj, int stenciled, boolean CircleStencil, int arry) -
DoWallLightingW
-
DoRoofLighting
-
getLuaMovingObjectList
-
Is
-
Is
public boolean Is(java.lang.String flag) -
Has
-
isZone
public boolean isZone(java.lang.String zone) -
DeleteTileObject
-
getLuaTileObjectList
-
HasStairs
public boolean HasStairs() -
HasStairsNorth
public boolean HasStairsNorth() -
HasStairsWest
public boolean HasStairsWest() -
HasElevatedFloor
public boolean HasElevatedFloor() -
isSameStaircase
public boolean isSameStaircase(int x, int y, int z) -
HasTree
public boolean HasTree() -
shouldSave
public boolean shouldSave() -
setDirty
public void setDirty() -
save
public void save(java.nio.ByteBuffer output, java.io.ObjectOutputStream outputObj) throws java.io.IOException- Throws:
java.io.IOException
-
isCommonGrass
public boolean isCommonGrass() -
toBoolean
public static boolean toBoolean(byte[] data) -
removeCorpse
-
getDeadBody
-
getDeadBodys
public java.util.List getDeadBodys() -
addCorpse
-
load
public void load(java.nio.ByteBuffer b, int WorldVersion) throws java.io.IOException- Throws:
java.io.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) -
isNotBlocked
public boolean isNotBlocked(boolean bCountOtherCharacters) -
getDoor
-
getIsoDoor
-
getDoorTo
-
getWindow
-
getWindow
-
getWindowTo
-
isAdjacentToWindow
public boolean isAdjacentToWindow() -
getThumpableWindow
-
getWindowThumpableTo
-
getHoppableThumpable
-
getHoppableThumpableTo
-
getBedTo
-
getWindowFrame
-
getWindowFrameTo
-
getSheetRope
-
damageSpriteSheetRopeFromBottom
-
removeSheetRopeFromBottom
-
testCollideSpecialObjects
-
getDoorFrameTo
-
getNew
-
getHashCodeObjects
public long getHashCodeObjects() -
getHashCodeObjectsInt
public int getHashCodeObjectsInt() -
recalcHashCodeObjects
public void recalcHashCodeObjects() -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
init
-
getTileInDirection
-
compareTo
public int compareTo(java.lang.Object other) -
setParent
-
getSearchData
- Specified by:
getSearchDatain interfaceINode
-
getWall
-
getFloor
-
getPlayerBuiltFloor
-
interpolateLight
-
EnsureSurroundNotNull
public void EnsureSurroundNotNull() -
addFloor
-
AddStairs
public IsoThumpable AddStairs(boolean north, int level, java.lang.String sprite, java.lang.String pillarSprite, KahluaTable table) -
RecalcAllWithNeighbours
public void RecalcAllWithNeighbours(boolean bDoReverse) -
RecalcAllWithNeighbours
-
RecalcAllWithNeighboursMineOnly
public void RecalcAllWithNeighboursMineOnly() -
hasSupport
public boolean hasSupport() -
getNode
-
getID
public java.lang.Integer getID() -
setID
public void setID(int ID) -
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) -
DoSplat
public void DoSplat(java.lang.String id, boolean bFlip, IsoFlagType prop, float offX, float offZ, float alpha) -
ClearTileObjects
public void ClearTileObjects() -
ClearTileObjectsExceptFloor
public void ClearTileObjectsExceptFloor() -
RemoveTileObject
-
RemoveTileObjectErosionNoRecalc
-
AddSpecialObject
-
AddSpecialObject
-
AddTileObject
-
AddTileObject
-
transmitRemoveItemFromSquare
-
transmitRemoveItemFromSquareOnServer
-
transmitModdata
public void transmitModdata() -
AddWorldInventoryItem
public InventoryItem AddWorldInventoryItem(java.lang.String String, float x, float y, float height) -
AddWorldInventoryItem
-
AddWorldInventoryItem
public InventoryItem AddWorldInventoryItem(InventoryItem item, float x, float y, float height, boolean transmit) -
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
-
CalculateVisionBlocked
-
FindFriend
-
FindEnemy
public IsoGameCharacter FindEnemy(IsoGameCharacter g, int range, java.util.ArrayList EnemyList, IsoGameCharacter RangeTest, int TestRangeMax) -
FindEnemy
-
getX
public int getX() -
getY
public int getY() -
getZ
public int getZ() -
RecalcProperties
public void RecalcProperties() -
RecalcPropertiesIfNeeded
public void RecalcPropertiesIfNeeded() -
ReCalculateCollide
-
ReCalculateCollide
-
ReCalculatePathFind
-
ReCalculatePathFind
-
ReCalculateVisionBlocked
-
ReCalculateVisionBlocked
-
testCollideAdjacent
-
testCollideAdjacentAdvanced
public boolean testCollideAdjacentAdvanced(int x, int y, int z, boolean ignoreDoors) -
setCollisionMode
public static void setCollisionMode() -
testPathFindAdjacent
-
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
-
bubbleSort3
public static void bubbleSort3(java.util.ArrayList x) -
renderDeferredCharacters
public void renderDeferredCharacters(int maxZ) -
switchLight
public void switchLight(boolean active) -
IsOnScreen
public boolean IsOnScreen() -
setLightInfoServerGUIOnly
-
CalcLightInfo
public void CalcLightInfo(int playerIndex) -
getContainerItem
-
StartFire
public void StartFire() -
explode
public void explode() -
getHourLastSeen
public int getHourLastSeen() -
getHoursSinceLastSeen
public float getHoursSinceLastSeen() -
CalcVisibility
public void CalcVisibility(int playerIndex) -
getFireRecalc
public static int getFireRecalc() -
setFireRecalc
public static void setFireRecalc(int aFireRecalc) -
getDarkStep
public static float getDarkStep() -
setDarkStep
public static void setDarkStep(float aDarkStep) -
getBlockInfo
-
setBlockInfo
-
getRecalcLightTime
public static int getRecalcLightTime() -
setRecalcLightTime
public static void setRecalcLightTime(int aRecalcLightTime) -
getLightcache
public static int getLightcache() -
setLightcache
public static void setLightcache(int aLightcache) -
isCouldSee
public boolean isCouldSee(int playerIndex) -
setCouldSee
public void setCouldSee(int playerIndex, boolean bCouldSee) -
isCanSee
public boolean isCanSee(int playerIndex) -
setCanSee
public void setCanSee(int playerIndex, boolean canSee) -
getCell
-
getE
-
setE
-
getLightInfluenceB
public java.util.ArrayList getLightInfluenceB() -
setLightInfluenceB
public void setLightInfluenceB(java.util.ArrayList LightInfluenceB) -
getLightInfluenceG
public java.util.ArrayList getLightInfluenceG() -
setLightInfluenceG
public void setLightInfluenceG(java.util.ArrayList LightInfluenceG) -
getLightInfluenceR
public java.util.ArrayList getLightInfluenceR() -
setLightInfluenceR
public void setLightInfluenceR(java.util.ArrayList LightInfluenceR) -
getStaticMovingObjects
public java.util.ArrayList getStaticMovingObjects() -
setStaticMovingObjects
public void setStaticMovingObjects(java.util.ArrayList StaticMovingObjects) -
getMovingObjects
public java.util.ArrayList getMovingObjects() -
setMovingObjects
public void setMovingObjects(java.util.ArrayList MovingObjects) -
getN
-
setN
-
getObjects
-
setObjects
-
getProperties
-
setProperties
-
getRoom
-
setRoom
-
getBuilding
-
getS
-
setS
-
getSpecialObjects
public java.util.ArrayList getSpecialObjects() -
setSpecialObjects
public void setSpecialObjects(java.util.ArrayList SpecialObjects) -
getW
-
setW
-
getLampostTotalR
public float getLampostTotalR() -
setLampostTotalR
public void setLampostTotalR(float lampostTotalR) -
getLampostTotalG
public float getLampostTotalG() -
setLampostTotalG
public void setLampostTotalG(float lampostTotalG) -
getLampostTotalB
public float getLampostTotalB() -
setLampostTotalB
public void setLampostTotalB(float lampostTotalB) -
isSeen
public boolean isSeen(int playerIndex) -
setIsSeen
public void setIsSeen(int playerIndex, boolean bSeen) -
getDarkMulti
public float getDarkMulti(int playerIndex) -
setDarkMulti
public void setDarkMulti(int playerIndex, float darkMulti) -
getTargetDarkMulti
public float getTargetDarkMulti(int playerIndex) -
setTargetDarkMulti
public void setTargetDarkMulti(int playerIndex, float targetDarkMulti) -
setX
public void setX(int x) -
setY
public void setY(int y) -
setZ
public void setZ(int z) -
getDeferedCharacters
public java.util.ArrayList getDeferedCharacters() -
setDeferedCharacters
public void setDeferedCharacters(java.util.ArrayList DeferedCharacters) -
addDeferredCharacter
-
isCacheIsFree
public boolean isCacheIsFree() -
setCacheIsFree
public void setCacheIsFree(boolean CacheIsFree) -
isCachedIsFree
public boolean isCachedIsFree() -
setCachedIsFree
public void setCachedIsFree(boolean CachedIsFree) -
isbDoSlowPathfinding
public static boolean isbDoSlowPathfinding() -
setbDoSlowPathfinding
public static void setbDoSlowPathfinding(boolean abDoSlowPathfinding) -
isSolidFloorCached
public boolean isSolidFloorCached() -
setSolidFloorCached
public void setSolidFloorCached(boolean SolidFloorCached) -
isSolidFloor
public boolean isSolidFloor() -
setSolidFloor
public void setSolidFloor(boolean SolidFloor) -
getComp
public static java.util.Comparator getComp() -
setComp
public static void setComp(java.util.Comparator aComp) -
getDefColorInfo
-
setDefColorInfo
-
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
-
getDoorOrWindow
-
getOpenDoor
-
setWorldObjects
public void setWorldObjects(java.util.ArrayList worldObjects) -
removeWorldObject
-
getWorldObjects
public java.util.ArrayList getWorldObjects() -
getModData
-
hasModData
public boolean hasModData() -
getHasTypes
-
setVertLight
public void setVertLight(int i, int col, int playerIndex) -
getVertLight
public int getVertLight(int i, int playerIndex) -
setRainDrop
-
getRainDrop
-
setRainSplash
-
getRainSplash
-
getZone
-
getZoneType
public java.lang.String getZoneType() -
isOverlayDone
public boolean isOverlayDone() -
setOverlayDone
public void setOverlayDone(boolean overlayDone) -
getErosionData
-
disableErosion
public void disableErosion() -
removeErosionObject
public void removeErosionObject(java.lang.String type) -
drawCircleExplosion
-
syncIsoTrap
-
drawCircleExplosion
-
explosion
-
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
-
stopFire
public void stopFire() -
transmitStopFire
public void transmitStopFire() -
playSound
public long playSound(java.lang.String file) -
playSound
@Deprecated public long playSound(java.lang.String file, boolean doWorldSound)Deprecated. -
FixStackableObjects
public void FixStackableObjects() -
FixBarricades
public void FixBarricades(int WorldVersion) -
revisionUp
public void revisionUp() -
getVehicleContainer
-
isVehicleIntersecting
public boolean isVehicleIntersecting() -
getCompost
-
clientModify
public void clientModify()
-