Class: SystemCurrency

SystemCurrency

A currency of the game

new SystemCurrency (json)

Name Type Description
json Object optional Json object describing the currency

Extends

Methods

read (json) inherited overrides

Read the JSON associated to the icon
Name Type Description
json Object Json object describing the icon

name ()string inherited overrides

Get the name according to current lang
Returns:
Type Description
string

getCommand () inherited overrides

Update lang according to a command list and iterator