public void setWorldBounds(ScaledPanel.Bounds world) {
    worldBounds.set(world);
    transform = null;
    if (debugBounds) System.out.println("  setWorldBounds = " + worldBounds);
  }
public void setWorldBounds ( ScaledPanel . Bounds world ) { worldBounds . set ( world ) ; transform = null ; if ( debugBounds ) System . out . println ( "  setWorldBounds = " + worldBounds ) ; }
/* set the bounds of the world coordinates.
The point (world.getX(), world.getY()) is mapped to the lower left point of the screen.
The point (world.getX() + world.Width(), world.getY()+world.Height()) is mapped
to the upper right corner. Therefore if coords decrease as you go up, world.Height()
should be negetive.