def drop(self, tile, weight): self.validify() if not isinstance(tile, Tile): raise TypeError('tile should be of [Tile]') tile.validify() return library.fishDrop(self._ptr, tile._ptr, weight)
def drop(self, x, y, weight): self.validify() return library.fishDrop(self._ptr, x, y, weight)