Hierarchy

  • StatsFactory

Constructors

Methods

Constructors

Methods

  • Note: When adding a stat that already exists in this factory, the previous one will be replaced.

    Parameters

    • stat: Stat
    • Optional initializer: ((factory: default) => any)

    Returns StatsFactory

  • Parameters

    • stat: Stat
    • Optional value: number
    • Optional initializer: ((factory: default) => any)

    Returns StatsFactory

  • Returns IStats

  • If the condition is not falsey, runs the initializer on this factory.

    Parameters

    Returns StatsFactory

Generated using TypeDoc