refactor: move some functions out of of pack generator

This commit is contained in:
Azgaar 2022-09-19 21:30:01 +03:00
parent 1ca3dd64d2
commit f0c2a302e9
2 changed files with 6 additions and 7 deletions

View file

@ -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;

View file

@ -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};