mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-18 18:11:24 +01:00
refactor: move files to folders
This commit is contained in:
parent
0d1b52e538
commit
dd29a89d66
10 changed files with 419 additions and 405 deletions
11
src/scripts/generation/pack/provinces/generateProvinces.ts
Normal file
11
src/scripts/generation/pack/provinces/generateProvinces.ts
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import {TIME} from "config/logging";
|
||||
|
||||
export function generateProvinces() {
|
||||
TIME && console.time("generateProvinces");
|
||||
|
||||
const provinceIds = new Uint16Array(1000); // cells.i.length
|
||||
const provinces = [] as TProvinces;
|
||||
|
||||
TIME && console.timeEnd("generateProvinces");
|
||||
return {provinceIds, provinces};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue