Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2015
729
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. loop:
  2. coins = self.findItems()
  3. coinIndex = 0
  4. while coinIndex < len(coins):
  5. coin = coins[coinIndex]
  6. if coin.value == 3:
  7. pos = coin.pos
  8. x = pos.x
  9. y = pos.y
  10. self.moveXY(x, y)
  11. coinIndex += 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement