1
0
cuberite-2a/source/cWorldGenerator.h
faketruth 537e1afcb1 Moved the actual world generation from cChunk.cpp to a more isolated file cWorldGenerator.cpp
New generators should inherit cWorldGenerator and implement their own generation algorithms

git-svn-id: http://mc-server.googlecode.com/svn/trunk@117 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-12-26 02:39:43 +00:00

17 lines
282 B
C++

#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 );
};