AssetMap
Constructors
new AssetMap()
new AssetMap():
AssetMap
Returns
Methods
addAssetGroup()
static
addAssetGroup(pGroupId
,pAssets
):void
Add a group of assets under the id passed in.
Parameters
• pGroupId: string
The id of the asset group - usually the id of the state.
• pAssets: AssetMapData
[]
A list of asset names.
Returns
void
Source
getAssetGroup()
static
getAssetGroup(pGroupId
):AssetMapData
[]
Retrieves the assets in the specified group.
Parameters
• pGroupId: string
The id of the asset group.
Returns
The assets or and empty string array if map is empty or group not found.