Type Parameters

Hierarchy

Implements

Constructors

  • Type Parameters

    • T extends default<unknown, number, unknown, unknown>

    Parameters

    • island: default
    • objects: SaferArray<T> = []

    Returns default<T>

Properties

island: default
objects: SaferArray<T>

Accessors

  • get game(): Game
  • Returns Game

  • get length(): number
  • Returns number

Methods

  • Returns IterableIterator<undefined | T>

  • Called when this object manager is not used anymore (after it was saved!)

    Returns void

  • Returns number

  • Parameters

    • id: number

    Returns undefined | T

  • Returns SaferArray<T>

  • Parameters

    • entity: T

    Returns void

  • Returns void

  • Parameters

    • id: number
    • value: undefined | T

    Returns void

Generated using TypeDoc