diff options
author | Mattes D <github@xoft.cz> | 2015-12-03 13:07:23 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-12-03 13:07:23 +0100 |
commit | 3fb356648453169758a9f5649f0ed4c5925d911f (patch) | |
tree | 57c90ff51aaeac4b1c2e05538a9f486da0a19f28 /src/Generating/POCPieceGenerator.h | |
parent | Merge pull request #2696 from Gargaj/breeding (diff) | |
parent | Changed Nether defaults to use PieceStructures. (diff) | |
download | cuberite-3fb356648453169758a9f5649f0ed4c5925d911f.tar cuberite-3fb356648453169758a9f5649f0ed4c5925d911f.tar.gz cuberite-3fb356648453169758a9f5649f0ed4c5925d911f.tar.bz2 cuberite-3fb356648453169758a9f5649f0ed4c5925d911f.tar.lz cuberite-3fb356648453169758a9f5649f0ed4c5925d911f.tar.xz cuberite-3fb356648453169758a9f5649f0ed4c5925d911f.tar.zst cuberite-3fb356648453169758a9f5649f0ed4c5925d911f.zip |
Diffstat (limited to 'src/Generating/POCPieceGenerator.h')
-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; -} ; - - - - - |