Base actor class with minimal functionality.

Provides only caching of .itemTypes and nothing else.

Hierarchy

Constructors

Properties

_itemTypes: ItemTypesMap

Cached result of .itemTypes

Accessors

Methods

  • Get related combatants.

    Parameters

    • Optional combat: Combat = game.combat

      Combat instance

    Returns Combatant[]

    Related combatants.

  • Get item by its identifier tag.

    Parameters

    • tag: string

      Desired tag.

    Returns undefined | Item

    • Matching item or undefined if no item is found.

Generated using TypeDoc