summaryrefslogtreecommitdiffstats
path: root/src/Generating/PiecePool.h
diff options
context:
space:
mode:
authorNiels Breuker <niels.breuker@hotmail.nl>2023-03-30 17:18:18 +0200
committerNiels Breuker <niels.breuker@hotmail.nl>2023-03-30 17:18:18 +0200
commit4af1f3ac35f6a7fe7ac2bfe625bad9abaf2e868d (patch)
tree7bd7ef103724e6bed9c2cb79dadb50e88c901a89 /src/Generating/PiecePool.h
parentAdded small embedded devices to README (diff)
downloadcuberite-4af1f3ac35f6a7fe7ac2bfe625bad9abaf2e868d.tar
cuberite-4af1f3ac35f6a7fe7ac2bfe625bad9abaf2e868d.tar.gz
cuberite-4af1f3ac35f6a7fe7ac2bfe625bad9abaf2e868d.tar.bz2
cuberite-4af1f3ac35f6a7fe7ac2bfe625bad9abaf2e868d.tar.lz
cuberite-4af1f3ac35f6a7fe7ac2bfe625bad9abaf2e868d.tar.xz
cuberite-4af1f3ac35f6a7fe7ac2bfe625bad9abaf2e868d.tar.zst
cuberite-4af1f3ac35f6a7fe7ac2bfe625bad9abaf2e868d.zip
Diffstat (limited to 'src/Generating/PiecePool.h')
-rw-r--r--src/Generating/PiecePool.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Generating/PiecePool.h b/src/Generating/PiecePool.h
index 5897f32c7..2e027e354 100644
--- a/src/Generating/PiecePool.h
+++ b/src/Generating/PiecePool.h
@@ -284,6 +284,9 @@ public:
The cPiece pointers returned are managed by the pool and the caller doesn't free them. */
virtual cPieces GetPiecesWithConnector(int a_ConnectorType) = 0;
+ /** Returns a list of closure pieces that contain the specified connector type. */
+ virtual cPieces GetClosurePiecesWithConnector(int a_ConnectorType) = 0;
+
/** Returns the pieces that should be used as the starting point.
Multiple starting points are supported, one of the returned piece will be chosen. */
virtual cPieces GetStartingPieces(void) = 0;