Hierarchy

Implements

Constructors

Properties

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

Methods

  • Returns string[]

  • Returns undefined | string | IIcon

  • 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 InfoProvider

  • Call when this info provider should refresh its display level.

    Returns InfoProvider

  • Call when this info provider should be removed.

    Returns InfoProvider

  • Parameters

    • componentClass: Class<default<HTMLElement>, any[]>

    Returns InfoProvider

  • Parameters

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

          Returns any

    Returns InfoProvider

  • Parameters

    Returns InfoProvider

  • 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 InfoProvider

  • Parameters

    Returns InfoProvider

Generated using TypeDoc