Permalink
Browse files

Initializing collision

  • Loading branch information...
1 parent 0b412e1 commit 595c6de39c009ec7369946470f0fc00daab1d0eb @flavioribeiro flavioribeiro committed Aug 27, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 jailbreakerz/actions.py
View
@@ -57,9 +57,9 @@ def step(self, dt):
def done(self):
return self._elapsed >= self.duration
- def collide((thief_x, thief_y), (catcher_x, catcher_y)):
- print 'Thief pos: ', thief_x, thief_y
- print 'Catcherpos: ', catcher_x, catcher_y
+ def collide(self, thief_pos, catcher_pos):
+ print 'Thief pos: ', thief_pos
+ print 'Catcherpos: ', catcher_pos
return True
class CustomMove(Move):

0 comments on commit 595c6de

Please sign in to comment.