1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#pragma once class cChunk; class cWorldGenerator { public: cWorldGenerator(); ~cWorldGenerator(); virtual void GenerateChunk( cChunk* a_Chunk ); protected: virtual void GenerateTerrain( cChunk* a_Chunk ); virtual void GenerateFoliage( cChunk* a_Chunk ); };