SerenityJS
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    generator: typeof TerrainGenerator

    The generator for the worker.

    The properties of the worker.

    path: string = __filename

    The path of the worker file.

    Methods

    • Generates a chunk at the specified coordinates.

      Parameters

      • _cx: number

        The chunk x coordinate.

      • _cz: number

        The chunk z coordinate.

      • _type: DimensionType

        The dimension type of the chunk.

      Returns Promise<Chunk>