public class SimpleBorderLocator extends BorderLocator
| Constructor and Description |
|---|
SimpleBorderLocator() |
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
locateBorder(boolean[][] spaceMatrix,
int chunkHeight,
int chunkWidth)
Locates the border.
|
calculateHorizontalDistribution, calculateVerticalDistributionpublic Rectangle locateBorder(boolean[][] spaceMatrix,
int chunkHeight,
int chunkWidth)
BorderLocatorlocateBorder in class BorderLocatorspaceMatrix - the space matrixchunkHeight - the chunk heightchunkWidth - the chunk widthCopyright © 2010-2020 Toolsverse. All Rights Reserved.