Small World Engine API Reference - v0.46.1
    Preparing search index...

    Class ConfigLoader

    Utility class for loading configuration files.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Loads a JSON configuration file from the given path.

      Parameters

      • path: string

        The path to the configuration file.

      Returns Promise<unknown>

      A promise that resolves to the configuration object.