GameboardInteropSnapshot
Defined in: packages/declarative-hex-worlds/src/interop/interop.ts:400
Portable interop snapshot containing entities, relations, and spawn locations.
Properties
Section titled “Properties”adjacency
Section titled “adjacency”adjacency: readonly
GameboardAdjacencyRecord[]
Defined in: packages/declarative-hex-worlds/src/interop/interop.ts:410
Tile adjacency records.
entities
Section titled “entities”entities: readonly
GameboardInteropEntity[]
Defined in: packages/declarative-hex-worlds/src/interop/interop.ts:408
Portable interop entities.
relations
Section titled “relations”relations: readonly
GameboardEcsRelation[]
Defined in: packages/declarative-hex-worlds/src/interop/interop.ts:412
ECS relation records.
scenario?
Section titled “scenario?”
optionalscenario?:GameboardInteropScenarioRecord
Defined in: packages/declarative-hex-worlds/src/interop/interop.ts:406
Optional scenario metadata.
schemaVersion
Section titled “schemaVersion”schemaVersion:
string
Defined in: packages/declarative-hex-worlds/src/interop/interop.ts:402
Snapshot schema version.
seed:
string
Defined in: packages/declarative-hex-worlds/src/interop/interop.ts:404
Plan or scenario seed.
spawnLocations
Section titled “spawnLocations”spawnLocations: readonly
SpawnLocation[]
Defined in: packages/declarative-hex-worlds/src/interop/interop.ts:414
Spawn locations included in the snapshot.