Type Parameters

  • O

Hierarchy

Constructors

Properties

component?: default<HTMLElement>
value: O
multiTextParagraph: string = "info-provider-multi-text-paragraph"

Methods

  • Parameters

    Returns string

  • Returns undefined | string

  • Returns string[]

  • Returns undefined | string | IIcon

  • Returns a string that should differentiate this inspection from other inspections of the same type.

    Returns string

  • Returns number

  • Returns void

  • Parameters

    • context: InfoProviderContext
    • component: default<HTMLElement> = ...
    • partial: boolean = false
    • data: {
          lastInfoSleep: number;
      } = ...
      • lastInfoSleep: number

    Returns {
        component: default<HTMLElement>;
        fullInit(): void;
    }

    • component: default<HTMLElement>
    • fullInit:function
      • Returns void

  • Returns void

  • Call when this info provider should recheck whether it has contents.

    Returns default<O>

  • Call when this info provider should be refreshed.

    Returns default<O>

  • Call when this info provider should be removed.

    Returns default<O>

  • Parameters

    • initializer: ((componenent: default<HTMLElement>) => any)
        • (componenent: default<HTMLElement>): any
        • Parameters

          Returns any

    Returns default<O>

  • Parameters

    Returns default<O>

  • Parameters

    • predicate: ((...params: [host: Game, tickFlag: TickFlag, ticks: number, dueToAction: boolean]) => boolean)
        • (...params: [host: Game, tickFlag: TickFlag, ticks: number, dueToAction: boolean]): boolean
        • Parameters

          • Rest ...params: [host: Game, tickFlag: TickFlag, ticks: number, dueToAction: boolean]

          Returns boolean

    Returns default<O>

  • Parameters

    • Rest ...handlers: ((inspectType: InspectType, ...args: any[]) => undefined | number | boolean)[]

    Returns ((type: InspectType, ...args: any[]) => boolean)

      • (type: InspectType, ...args: any[]): boolean
      • Parameters

        Returns boolean

  • Parameters

    Returns number

Generated using TypeDoc