refactor: migrate states generator (#1291)

* refactor: migrate states generator

* Update src/modules/states-generator.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/modules/states-generator.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Marc Emmanuel 2026-01-30 16:44:09 +01:00 committed by GitHub
parent 363c82ee30
commit 88c70b9264
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 829 additions and 643 deletions

View file

@ -2,6 +2,7 @@ import type { Burg } from "../modules/burgs-generator";
import type { Culture } from "../modules/cultures-generator";
import type { PackedGraphFeature } from "../modules/features";
import type { River } from "../modules/river-generator";
import type { State } from "../modules/states-generator";
type TypedArray =
| Uint8Array
@ -48,6 +49,7 @@ export interface PackedGraph {
rivers: River[];
features: PackedGraphFeature[];
burgs: Burg[];
states: any[];
states: State[];
cultures: Culture[];
religions: any[];
}