diff options
author | Alan Aguiar <alanjas@hotmail.com> | 2013-05-14 23:24:15 (GMT) |
---|---|---|
committer | Alan Aguiar <alanjas@hotmail.com> | 2013-05-14 23:24:15 (GMT) |
commit | 35bca066c916b5264d6fb956b18c8306c5f119b8 (patch) | |
tree | a039da61b3ebf61741f9d2d426a34644eab52662 /main.py | |
parent | ee35c7d88c55b67b77661e146056fc5559f12186 (diff) |
show current player
Diffstat (limited to 'main.py')
-rwxr-xr-x | main.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -308,13 +308,12 @@ class Game: elif event.type == pygame.MOUSEBUTTONDOWN: pos = event.pos ret = self.where(pos) - print ret if ret == False: if self.current == 'A': self.current = 'B' else: self.current = 'A' - print self.current + self.parent.set_current_player(self.current) pygame.display.flip() |