Options
All
  • Public
  • Public/Protected
  • All
Menu

The client-side FogExploration document which extends the common BaseFogExploration model.

mixes

ClientDocumentMixin

Hierarchy

  • any
    • FogExploration

Index

Constructors

  • Returns FogExploration

Methods

  • getTexture(): any
  • Transform the explored base64 data into a PIXI.Texture object

    Returns any

  • _onCreate(data: any, options: any, userId: any): void
  • override

    Parameters

    • data: any
    • options: any
    • userId: any

    Returns void

  • _onUpdate(data: any, options: any, userId: any): void
  • override

    Parameters

    • data: any
    • options: any
    • userId: any

    Returns void

  • _onDelete(options: any, userId: any): void
  • override

    Parameters

    • options: any
    • userId: any

    Returns void

  • get([query]?: { scene: string; user: string }, options?: any): Promise<FogExploration>
  • Obtain the fog of war exploration progress for a specific Scene and User.

    Parameters

    • [query]: { scene: string; user: string } = {}

      Parameters for which FogExploration document is retrieved

      • scene: string
      • user: string
    • options: any = {}

    Returns Promise<FogExploration>