TreeTemplate.h 441 B

12345678910111213141516
  1. #pragma once
  2. #include "GenerationTemplate.h"
  3. class TreeTemplate : public GenerationTemplate
  4. {
  5. private:
  6. const BlockType* zWoodType;
  7. const BlockType* zLeaveType;
  8. int minHeight;
  9. int maxHeight;
  10. public:
  11. TreeTemplate(float propability, const BlockType* zWoodType, const BlockType* zLeaveType, int minHeight, int maxHeight);
  12. virtual GeneratedStructure* generateAt(Framework::Vec3<int> location, Noise* zNoise, int dimensionId) override;
  13. };