Hierarchy (view full)

Constructors

  • Parameters

    • localizationKey: string
    • name: string
    • description: string
    • iconImage: string
    • score: number
    • Optional conditionFunc: ((scene, args) => boolean)
        • (scene, args): boolean
        • Parameters

          Returns boolean

    Returns Achv

Properties

conditionFunc: ((scene, args) => boolean)

Type declaration

    • (scene, args): boolean
    • Parameters

      Returns boolean

description: string
hasParent: boolean
iconImage: string
id: string
localizationKey: string
name: string
parentId: string
score: number
secret: boolean

Methods

  • Get the name of the achievement based on the gender of the player

    Parameters

    Returns string

    the name of the achievement localized for the player gender

  • Parameters

    • Optional hasParent: boolean

    Returns this