Example #1
0
 public World Generate(int width, int height, Random rand)
 {
     World world = new World(width, height);
     Subdivide(world.RootDistrict, 0, 3, 3, 3, 3, rand);
     world.FindTileNeighbours();
     world.FindBlockIntersections();
     world.UpdateGeometryVertexBuffer();
     return world;
 }