Represents a hut generated using procedural generation.

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

  • Parameters

    • xOffset: number

      The x-coordinate offset for the hut.

    • yOffset: number

      The y-coordinate offset for the hut.

    • Optional height: number = 40

      The height of the hut.

    • Optional width: number = 180

      The width of the hut.

    • Optional textureCount: number = 300

      The number of textures in the hut.

    Returns Hut

Properties

elements: Element[] = []

An array of Elements.

range: Range = ...

Methods