diff options
author | Mattes D <github@xoft.cz> | 2015-11-11 10:32:42 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-12-01 10:35:07 +0100 |
commit | b8fbba5eb92cda32b13d65f3704adf778da82f38 (patch) | |
tree | 0c6e8f47ae152e5ffade6f0a7457505101764753 /src/Generating/POCPieceGenerator.h | |
parent | Merge pull request #2696 from Gargaj/breeding (diff) | |
download | cuberite-b8fbba5eb92cda32b13d65f3704adf778da82f38.tar cuberite-b8fbba5eb92cda32b13d65f3704adf778da82f38.tar.gz cuberite-b8fbba5eb92cda32b13d65f3704adf778da82f38.tar.bz2 cuberite-b8fbba5eb92cda32b13d65f3704adf778da82f38.tar.lz cuberite-b8fbba5eb92cda32b13d65f3704adf778da82f38.tar.xz cuberite-b8fbba5eb92cda32b13d65f3704adf778da82f38.tar.zst cuberite-b8fbba5eb92cda32b13d65f3704adf778da82f38.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Generating/POCPieceGenerator.h | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/src/Generating/POCPieceGenerator.h b/src/Generating/POCPieceGenerator.h deleted file mode 100644 index de3114ce0..000000000 --- a/src/Generating/POCPieceGenerator.h +++ /dev/null @@ -1,54 +0,0 @@ - -// POCPieceGenerator.h - -// Declares the cPOCPieceGenerator class representing a Proof-Of_Concept structure generator using the cPieceGenerator technique -// The generator generates a maze of rooms at {0, 100, 0} - - - - - -#pragma once - -#include "PieceGenerator.h" -#include "ComposableGenerator.h" - - - - - -class cPOCPieceGenerator : - public cFinishGen, - protected cPiecePool -{ -public: - cPOCPieceGenerator(int a_Seed); - ~cPOCPieceGenerator(); - -protected: - int m_Seed; - - /** The pieces from which the generated structure is built. */ - cPieces m_AvailPieces; - - /** The placed pieces of the generated structure. */ - cPlacedPieces m_Pieces; - - /** Bounds of the complete structure, to save on processing outside chunks. */ - cCuboid m_Bounds; - - - // cFinishGen overrides: - virtual void GenFinish(cChunkDesc & a_ChunkDesc) override; - - // cPiecePool overrides: - virtual cPieces GetPiecesWithConnector(int a_ConnectorType) override; - virtual cPieces GetStartingPieces(void) override; - virtual void PiecePlaced(const cPiece & a_Piece) override; - virtual void Reset(void) override; -} ; - - - - - |