Class representing a frame used for generating and managing layer of terrain.

Constructors

Properties

Accessors

Methods

Constructors

  • Parameters

    • id: number

      Unique identifier of the frame This field makes sure that the new layer won't exceed the original frame's range

    Returns Frame

Properties

id: number

Unique identifier of the frame This field makes sure that the new layer won't exceed the original frame's range

layers: Layer[] = []

keeping the active layers within the frame When passing custom classes or instances to web workers, they are serialized into plain objects due to the fact that web workers can only communicate using JSON-compatible data types

Accessors

Methods

  • Create active layers based on the given plan and adds it to Frame.layers

    Parameters

    Returns void