Hierarchy

Constructors

Properties

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

Methods

  • Returns string[]

  • Returns {
        height: number;
        path: default<InfoIcon>;
        width: number;
    }

  • Returns boolean

  • 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

  • Call when this info provider should be refreshed.

    Returns default

  • Call when this info provider should be removed.

    Returns default

  • Parameters

    Returns default

  • 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

  • Parameters

    Returns undefined | default

  • Parameters

    • Optional decay: number

    Returns undefined | default

Generated using TypeDoc