Mercurial > libervia-backend
comparison frontends/src/quick_frontend/quick_card_game.py @ 588:beaf6bec2fcd
Remove every old-style class.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Fri, 18 Jan 2013 17:55:35 +0100 |
parents | 952322b1d490 |
children | 84a6e83157c2 |
comparison
equal
deleted
inserted
replaced
587:952322b1d490 | 588:beaf6bec2fcd |
---|---|
22 from logging import debug, info, error | 22 from logging import debug, info, error |
23 from sat.tools.jid import JID | 23 from sat.tools.jid import JID |
24 | 24 |
25 | 25 |
26 | 26 |
27 class QuickCardGame(): | 27 class QuickCardGame(object): |
28 | 28 |
29 def __init__(self, parent, referee, players, player_nick): | 29 def __init__(self, parent, referee, players, player_nick): |
30 self._autoplay = None #XXX: use 0 to activate fake play, None else | 30 self._autoplay = None #XXX: use 0 to activate fake play, None else |
31 self.parent = parent | 31 self.parent = parent |
32 self.referee = referee | 32 self.referee = referee |