* @param top the top partset of this entity
* @return Hashmap of material names from this entity and the asset of the mat instance
*/
public static HashMap<String, Asset> getMaterials(PartSet top){
HashMap<String, Asset> materials = new HashMap<String, Asset>();
PartSet det = top.getPart("mat");
if(det != null){
for( PartSet m : det.getParts()){
String next = m.getNext();
Asset a = new Asset(next,m.getName());
Singleton.get().getAssetManager().loadAsset(a, false);
materials.put(m.getName(),a);
}