MCPcopy Create free account
hub / github.com/JoshuaPostel/texaform / drop_within

Method drop_within

python/dog.py:260–268  ·  view source on GitHub ↗
(self, area: Rect)

Source from the content-addressed store, hash-verified

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):

Callers 1

clear_columnFunction · 0.80

Calls 4

approachMethod · 0.95
scanMethod · 0.95
sendMethod · 0.95
random_point_insideMethod · 0.80

Tested by

no test coverage detected