コード例 #1
0
 def pickUp(self, tile, weight):
   self.validify()
   if not isinstance(tile, Tile):
     raise TypeError('tile should be of [Tile]')
   tile.validify()
   return library.fishPickUp(self._ptr, tile._ptr, weight)
コード例 #2
0
 def pickUp(self, x, y, weight):
   self.validify()
   return library.fishPickUp(self._ptr, x, y, weight)