Strata - v1.4.10
    Preparing search index...

    Function createRegionSystem

    • Creates a system that tracks which region the player is currently in. Updates the current region and biome in the game state.

      Type Parameters

      Parameters

      • worldGraph: WorldGraph

        The world graph containing regions and connections

      • gameStore: GameStoreApi<any>

        The game store to update with region state

      Returns SystemFn<T>

      A system function for the ECS