void CarveOutRoom(GameObject room)
    {
//		Rect bounds = GetRect (room.transform);
        // the points should be offset from the center of the levelBounds, so that levelBOunds center is in the middle of the map
        Vector2 bottomLeft = room.transform.position;
        Vector2 topRight   = room.transform.position;

        bottomLeft -= (Vector2)room.transform.lossyScale / 2;
        topRight   += (Vector2)room.transform.lossyScale / 2;

        bottomLeft += level.mapSize / 2;
        topRight   += level.mapSize / 2;
        map.CarveOutRoom(bottomLeft, topRight);
    }