(self, area: Rect)
| 258 | self.send("DROP") |
| 259 | |
| 260 | def drop_within(self, area: Rect): |
| 261 | target = area.random_point_inside() |
| 262 | self.approach(target) |
| 263 | (p1, _, _) = self.scan() |
| 264 | if p1 == ".": |
| 265 | self.send("DROP") |
| 266 | return |
| 267 | else: |
| 268 | self.drop_within(area) |
| 269 | |
| 270 | |
| 271 | def transport(self, char: str, from_loc: Point, to_loc: Point): |
no test coverage detected