Hierarchy (view full)

Constructors

  • Parameters

    • localizationKey: string
    • name: string
    • description: string
    • iconImage: string
    • score: number
    • OptionalconditionFunc: ((scene: default, args: any[]) => boolean)
        • (scene, args): boolean
        • Parameters

          Returns boolean

    Returns Achv

Properties

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

    • OptionalhasParent: boolean

    Returns this