Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/deck.py
diff options
context:
space:
mode:
Diffstat (limited to 'deck.py')
-rw-r--r--deck.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/deck.py b/deck.py
index 402df3a..33616ba 100644
--- a/deck.py
+++ b/deck.py
@@ -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