the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 19 lines 412 B view raw
1#pragma once 2 3#include "Feature.h" 4 5class MegaTreeFeature : public Feature 6{ 7private: 8 const int baseHeight; 9 const int trunkType; 10 const int leafType; 11 12public: 13 MegaTreeFeature(bool doUpdate, int baseHeight, int trunkType, int leafType); 14 15 bool place(Level *level, Random *random, int x, int y, int z); 16 17private: 18 void placeLeaves(Level *level, int x, int z, int topPosition, int baseRadius, Random *random); 19};