diff options
author | Walter Bender <walter@walter-laptop.(none)> | 2009-12-22 15:07:09 (GMT) |
---|---|---|
committer | Walter Bender <walter@walter-laptop.(none)> | 2009-12-22 15:07:09 (GMT) |
commit | ed12012f5fba420d7de285110dc83655ad8e594b (patch) | |
tree | 0e334c922e92986f8ab737adbef5031def1f59bd /deck.py | |
parent | 3ff461ab767d026fe27520c23aa856ea7275c399 (diff) |
major refactoring of sprites libraryv12
Diffstat (limited to 'deck.py')
-rw-r--r-- | deck.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -32,7 +32,7 @@ from card import * # class for defining deck of cards # class Deck: - def __init__(self, vmw, path, card_type, width, height): + def __init__(self, sprites, path, cardtype, width, height): # create the deck of cards self.cards = {} # remember the position in the deck @@ -44,7 +44,7 @@ class Deck: for color in range(0, COLORS): for num in range(0, NUMBER): for fill in range(0, FILLS): - self.cards[self.count] = Card(vmw, path, card_type, + self.cards[self.count] = Card(sprites, path, cardtype, width, height, [shape,color,num,fill]) self.count += 1 |