float x = b.getPosition().getX();
float y = b.getPosition().getY();
float rad = ((Circle) b.getShape()).getRadius();
g.drawOval((int) (x-rad),(int) (y-rad),(int) (rad*2),(int) (rad*2));
AABox box = b.getShape().getBounds();
float width2 = box.getWidth() / 2;
float height2 = box.getWidth() / 2;
g.setColor(Color.lightGray);
g.drawRect((int) (x-width2),(int) (y-height2),
(int) box.getWidth(),(int) box.getHeight());
}
if (spaces != null) {
for (int i=0;i<spaces.size();i++) {
QuadSpaceStrategy.Space space = (QuadSpaceStrategy.Space) spaces.get(i);