(self, (x0,y0,x1,y1))
| 225 | return obj in self._objs |
| 226 | |
| 227 | def _getrange(self, (x0,y0,x1,y1)): |
| 228 | for y in drange(y0, y1, self.gridsize): |
| 229 | for x in drange(x0, x1, self.gridsize): |
| 230 | yield (x,y) |
| 231 | return |
| 232 | |
| 233 | # add(obj): place an object. |
| 234 | def add(self, obj): |