refactor(es modules): use polylabel module and update aleaPRNG as local lib

This commit is contained in:
Azgaar 2022-06-30 01:24:19 +03:00
parent f9f60176d9
commit 6a7ec6513a
21 changed files with 220 additions and 10 deletions

View file

@ -1,6 +1,7 @@
import {findCell} from "utils/graphUtils";
import {getMiddlePoint} from "utils/lineUtils";
import {rn} from "utils/numberUtils";
import {aleaPRNG} from "scripts/aleaPRNG";
window.Submap = (function () {
const isWater = (pack, id) => pack.cells.h[id] < 20;