comparison frontends/src/wix/card_game.py @ 686:ae95b0327412

plugin card_game: better PEP-8 compliance
author souliane <souliane@mailoo.org>
date Mon, 28 Oct 2013 18:49:01 +0100
parents 2805fa3f4bdf
children 56aa0e98c92e
comparison
equal deleted inserted replaced
685:0b9bd47dffcd 686:ae95b0327412
50 @param x: abscissa 50 @param x: abscissa
51 @param y: ordinate""" 51 @param y: ordinate"""
52 dc.DrawBitmap(self.bitmap, x, y, True) 52 dc.DrawBitmap(self.bitmap, x, y, True)
53 53
54 54
55 class CardPanel(QuickCardGame,wx.Panel): 55 class CardPanel(QuickCardGame, wx.Panel):
56 """This class is used to display the cards""" 56 """This class is used to display the cards"""
57 57
58 def __init__(self, parent, referee, players, player_nick): 58 def __init__(self, parent, referee, players, player_nick):
59 QuickCardGame.__init__(self, parent, referee, players, player_nick) 59 QuickCardGame.__init__(self, parent, referee, players, player_nick)
60 wx.Panel.__init__(self, parent) 60 wx.Panel.__init__(self, parent)