//}
} else if (cl == Background.class) {
//String value = attributes.getValue(Trait.getTraitName(trait));
//if (value != null) {
Background bkg = new Background();
Color col = Color.valueOf(attributes.getValue("bkg-color"));
if (col != null) {
bkg.setColor(col);
}
String url = attributes.getValue("bkg-img");
if (url != null) {