@Override
public Bounds getOffsetBounds(AttributeSet attrs) {
Direction facing = attrs.getValue(StdAttr.FACING);
Direction defaultFacing = source.getAppearance().getFacing();
Bounds bds = source.getAppearance().getOffsetBounds();
return bds.rotate(defaultFacing, facing, 0, 0);
}
@Override
public boolean contains(Location loc, AttributeSet attrs) {
if (super.contains(loc, attrs)) {