__init__ def __init__(self, l, r, b, t) Undocumented function. |
clearBitmasks def clearBitmasks(self, bitmasks) Clears all of the appropriate bits to indicate this region is available. |
hasOverlap def hasOverlap(self, bitmasks) Returns true if there is an overlap with this region and any other region, false otherwise. |
intersects def intersects(self, other) Returns True if the placements intersect, False otherwise. |
setBitmasks def setBitmasks(self, bitmasks) Sets all of the appropriate bits to indicate this region is taken. |