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 void
addChunkRegion(ChunkRegion chunkRegion)
protected void
addRoof()
protected boolean
containsChunkRegion(ChunkRegion chunkRegion)
Color
getColor()
java.util.ArrayList
getDebugChunkRegionCopy()
java.util.ArrayList
getDebugConnectedNeighborCopy()
int
getID()
java.util.ArrayList
getNeighbors()
int
getRoofCnt()
int
getSquareSize()
boolean
isEnclosed()
boolean
isFogMask()
boolean
isFullyRoofed()
boolean
isPlayerRoom()
protected void
linkNeighbors()
protected void
merge(MasterRegion masterRegion)
protected static void
printStats()
protected void
removeChunkRegion(ChunkRegion chunkRegion)
protected void
removeRoofs(int int1)
protected void
resetSquareSize()
protected void
setDirtyEnclosed()
int
size()
protected java.util.ArrayList
swapChunkRegions(java.util.ArrayList arrayList)
protected void
unlinkNeighbors()
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()
-