Game. Achievement

new Achievement(name, desc, icon, hide)

Achievement class

Parameters:
NameTypeDescription
namestring

Name of Achievement

descstring

Description of Achievement

iconstring

Path to icon image

hidenumber

Hide levels : 0=show, 1=hide description, 2=hide, 3=secret (doesn't count toward achievement total)

Methods

UpdateLocale() → {void}

Updates the localization for Achievement

Returns:
Type: 
void