Class IsoWorldRegion
java.lang.Object
zombie.iso.areas.isoregion.regions.IsoWorldRegion
- All Implemented Interfaces:
IWorldRegion
public final class IsoWorldRegion extends java.lang.Object implements IWorldRegion
-
Constructor Summary
Constructors Modifier Constructor Description protectedIsoWorldRegion(IsoRegionManager regionManager) -
Method Summary
Modifier and Type Method Description voidaddIsoChunkRegion(IsoChunkRegion chunkRegion)protected voidaddRoof()booleancontainsIsoChunkRegion(IsoChunkRegion chunkRegion)ColorgetColor()java.util.ArrayListgetDebugConnectedNeighborCopy()java.util.ArrayListgetDebugIsoChunkRegionCopy()intgetID()java.util.ArrayListgetNeighbors()intgetRoofCnt()floatgetRoofedPercentage()intgetSquareSize()protected voidinit(int int1)booleanisEnclosed()booleanisFogMask()booleanisFullyRoofed()protected booleanisInPool()booleanisPlayerRoom()voidlinkNeighbors()voidmerge(IsoWorldRegion worldRegion)protected voidremoveIsoChunkRegion(IsoChunkRegion chunkRegion)protected voidremoveRoofs(int int1)protected IsoWorldRegionreset()protected voidresetSquareSize()protected voidsetDirtyEnclosed()intsize()java.util.ArrayListswapIsoChunkRegions(java.util.ArrayList arrayList)voidunlinkNeighbors()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
IsoWorldRegion
-
-
Method Details
-
getID
public int getID() -
getColor
-
size
public int size() -
getSquareSize
public int getSquareSize() -
isInPool
protected boolean isInPool() -
init
protected void init(int int1) -
reset
-
unlinkNeighbors
public void unlinkNeighbors() -
linkNeighbors
public void linkNeighbors() -
getNeighbors
public java.util.ArrayList getNeighbors()- Specified by:
getNeighborsin interfaceIWorldRegion
-
getDebugConnectedNeighborCopy
public java.util.ArrayList getDebugConnectedNeighborCopy()- Specified by:
getDebugConnectedNeighborCopyin interfaceIWorldRegion
-
isFogMask
public boolean isFogMask()- Specified by:
isFogMaskin interfaceIWorldRegion
-
isPlayerRoom
public boolean isPlayerRoom()- Specified by:
isPlayerRoomin interfaceIWorldRegion
-
isFullyRoofed
public boolean isFullyRoofed()- Specified by:
isFullyRoofedin interfaceIWorldRegion
-
getRoofedPercentage
public float getRoofedPercentage() -
getRoofCnt
public int getRoofCnt()- Specified by:
getRoofCntin interfaceIWorldRegion
-
addRoof
protected void addRoof() -
removeRoofs
protected void removeRoofs(int int1) -
addIsoChunkRegion
-
removeIsoChunkRegion
-
containsIsoChunkRegion
-
swapIsoChunkRegions
public java.util.ArrayList swapIsoChunkRegions(java.util.ArrayList arrayList) -
resetSquareSize
protected void resetSquareSize() -
setDirtyEnclosed
protected void setDirtyEnclosed() -
isEnclosed
public boolean isEnclosed() -
merge
-
getDebugIsoChunkRegionCopy
public java.util.ArrayList getDebugIsoChunkRegionCopy()- Specified by:
getDebugIsoChunkRegionCopyin interfaceIWorldRegion
-