* ::Rase the nDoodads in MOHD!
* @return
*/
public int addMaterial() {
// make new array of objects
MOMT_Material tmp[] = new MOMT_Material[nmat +1];
// copy all data
for(int c=0; c<nmat; c++) {
tmp[c]=mats[c];
}
// remove old references
mats = tmp;
// create newest entry
mats[nmat] = new MOMT_Material();
// set new number
nmat++;
// we have a new size now