return entityImage.getFacing(entity.getFacing()); }
    public Image imageFor(Entity entity) {        EntityImage entityImage = (EntityImage)mechImages.get(new Integer(entity.getId()));        if (entityImage == null) {            // probably double_blind.  Try to load on the fly            System.out.println("Loading image for " + entity.getShortName() + " on the fly.");            loadImage(entity);            entityImage = (EntityImage)mechImages.get(new Integer(entity.getId()));            if (entityImage == null) {                // now it's a real problem                System.out.println("Unable to load image for entity: " + entity.getShortName());            }                    }  // Not every entity has a secondary facing.  if ( entity.canChangeSecondaryFacing() ) {        return entityImage.getFacing(entity.getSecondaryFacing());    }  return entityImage.getFacing(entity.getFacing());    }