Package zombie.iso.areas.isoregion
Class MasterRegion
java.lang.Object
zombie.iso.areas.isoregion.MasterRegion
public class MasterRegion
extends java.lang.Object
-
Method Summary
Modifier and Type Method Description protected voidaddChunkRegion(ChunkRegion chunkRegion)protected voidaddRoof()protected booleancontainsChunkRegion(ChunkRegion chunkRegion)ColorgetColor()java.util.ArrayListgetDebugChunkRegionCopy()java.util.ArrayListgetDebugConnectedNeighborCopy()intgetID()java.util.ArrayListgetNeighbors()intgetRoofCnt()intgetSquareSize()booleanisEnclosed()booleanisFogMask()booleanisFullyRoofed()booleanisPlayerRoom()protected voidlinkNeighbors()protected voidmerge(MasterRegion masterRegion)protected static voidprintStats()protected voidremoveChunkRegion(ChunkRegion chunkRegion)protected voidremoveRoofs(int int1)protected voidresetSquareSize()protected voidsetDirtyEnclosed()intsize()protected java.util.ArrayListswapChunkRegions(java.util.ArrayList arrayList)protected voidunlinkNeighbors()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
printStats
protected static void printStats() -
getID
public int getID() -
getColor
-
size
public int size() -
getSquareSize
public int getSquareSize() -
unlinkNeighbors
protected void unlinkNeighbors() -
linkNeighbors
protected void linkNeighbors() -
getNeighbors
public java.util.ArrayList getNeighbors() -
getDebugConnectedNeighborCopy
public java.util.ArrayList getDebugConnectedNeighborCopy() -
isFogMask
public boolean isFogMask() -
isPlayerRoom
public boolean isPlayerRoom() -
isFullyRoofed
public boolean isFullyRoofed() -
getRoofCnt
public int getRoofCnt() -
addRoof
protected void addRoof() -
removeRoofs
protected void removeRoofs(int int1) -
addChunkRegion
-
removeChunkRegion
-
containsChunkRegion
-
swapChunkRegions
protected java.util.ArrayList swapChunkRegions(java.util.ArrayList arrayList) -
resetSquareSize
protected void resetSquareSize() -
setDirtyEnclosed
protected void setDirtyEnclosed() -
isEnclosed
public boolean isEnclosed() -
merge
-
getDebugChunkRegionCopy
public java.util.ArrayList getDebugChunkRegionCopy()
-