refactor: rivers generation

This commit is contained in:
max 2022-07-21 00:23:37 +03:00
parent c1e7d6f54a
commit 3215b6f0d2
18 changed files with 739 additions and 704 deletions

View file

@ -1,4 +1,4 @@
import {UINT16_MAX, UINT32_MAX, UINT8_MAX} from "../constants";
import {UINT16_MAX, UINT32_MAX, UINT8_MAX} from "../config/constants";
export function last<T>(array: T[]) {
return array[array.length - 1];