public void loadFacings() {
base = applyColor(base);
icon = base.getScaledInstance(56, 48, Image.SCALE_SMOOTH);
for (int i = 0; i < 6; i++) {
ImageProducer rotSource = new FilteredImageSource(base
.getSource(), new RotateFilter((Math.PI / 3) * (6 - i)));
facings[i] = parent.createImage(rotSource);
}
if (wreck != null) {
wreck = applyColor(wreck);
for (int i = 0; i < 6; i++) {
ImageProducer rotSource = new FilteredImageSource(wreck
.getSource(), new RotateFilter((Math.PI / 3)
* (6 - i)));
wreckFacings[i] = parent.createImage(rotSource);
}
}