Methods
getName()
- Source:
Returns:
the name of the @param code damage type, or @code if no metadata exists in JSON files.
sort(damageTypes) → {Array.<string>}
Parameters:
Name | Type | Description |
---|---|---|
damageTypes |
Array.<string> | The damageTypes to sort. |
- Source:
Returns:
- The damageTypes in sorted order; first the ones
where metadata is provided, then the rest.
- Type
- Array.<string>