Hierarchy

Constructors

  • Parameters

    • context: default
    • worldRenderer: default
    • radius: number
    • maxRadius: number
    • subdivisions: number = 1

    Returns default

Properties

blurEnabled: boolean
computeOffset: default = Vector2.ZERO
context: default
disabled: boolean
hBlurProgram: default
maxRadius: number
radius: number
texLight: undefined | WebGLTexture
texLightOld: undefined | WebGLTexture
transitionProgress: number = 1

Methods

  • Parameters

    • timeStamp: number
    • Optional force: boolean
    • Optional skipTransition: boolean

    Returns boolean

  • Returns void

  • Returns number

  • Returns number

  • Returns void

  • Returns void

  • Parameters

    • timeStamp: number

    Returns void

  • Returns void

  • Updates the explored tiles around players

    Parameters

    • updateForGhosts: boolean = false

      Update field of ghosts too

    Returns void

  • Parameters

    Returns void

  • Returns void

  • Parameters

    • timeStamp: number

    Returns boolean

  • Parameters

    • origin: IFieldOfViewOrigin
    • type: CanASeeBType
    • islandId: `${number},${number}`
    • tileX: number
    • tileY: number
    • tileZ: number
    • fieldOfView: undefined | default = renderer.fieldOfView
    • Optional customRadius: number

    Returns boolean

  • Parameters

    • origin: IVector3
    • mapSize: number
    • radius: number

    Returns IBound3

  • Gets the field of view radius based on either the field of view object, player, or the default value

    Parameters

    Returns number

  • Parameters

    Returns Promise<void>

  • Marks a set of tiles as explored

    Parameters

    Returns boolean

Generated using TypeDoc