Strata - v1.4.10
    Preparing search index...

    Function createConnectionSystem

    • Creates a system that handles world graph connections and traversal. Detects when the player is near a connection point and handles unlocking/traversal.

      Type Parameters

      Parameters

      • worldGraph: WorldGraph

        The world graph containing regions and connections

      • gameStore: GameStoreApi<any>

        The game store to get current region from

      • OptionalmodeManager: ModeManager

        The mode manager to trigger traversal modes

      Returns SystemFn<T>

      A system function for the ECS