123456789101112131415161718 |
- #pragma once
- #include "GenerationTemplate.h"
- class TreeTemplate : public GenerationTemplate
- {
- private:
- int woodBlockTypeId;
- int leaveBlockType;
- int minHeight;
- int maxHeight;
- public:
- TreeTemplate(float propability, int woodBlockTypeId, int leaveBlockType, int minHeight, int maxHeight);
- virtual GeneratedStructure* generateAt(Framework::Vec3<int> location, Noise* zNoise, int dimensionId) override;
- const BlockType* getWoodType() const;
- const BlockType* getLeavesType() const;
- };
|