mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 17:51:24 +01:00
refactor: move some functions out of of pack generator
This commit is contained in:
parent
1ca3dd64d2
commit
f0c2a302e9
2 changed files with 6 additions and 7 deletions
|
|
@ -55,7 +55,11 @@ async function generate(options?: IGenerationOptions) {
|
|||
const newGrid = await createGrid(grid, precreatedGraph);
|
||||
const newPack = createPack(newGrid);
|
||||
|
||||
// TODO: draw default ruler
|
||||
// OceanLayers(newGrid);
|
||||
|
||||
// draw default ruler
|
||||
// drawScaleBar(window.scale);
|
||||
// Names.getMapName();
|
||||
|
||||
// redefine global grid and pack
|
||||
grid = newGrid;
|
||||
|
|
|
|||
|
|
@ -164,12 +164,7 @@ export function createPack(grid: IGrid): IPack {
|
|||
|
||||
// Military.generate();
|
||||
// Markers.generate();
|
||||
// addZones();
|
||||
|
||||
// OceanLayers(newGrid);
|
||||
|
||||
// drawScaleBar(window.scale);
|
||||
// Names.getMapName();
|
||||
// addZones(); // add to pack data
|
||||
|
||||
const events: IEvents = {conflicts};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue