Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/grid.py
diff options
context:
space:
mode:
authorWalter Bender <walter@walter-laptop.(none)>2010-02-23 19:15:24 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2010-02-23 19:15:24 (GMT)
commit39cfc145f0ca7436ccb710f3fa77df782de1fe18 (patch)
treef4dff372384d4d1fec9b1db766b1ddaa633b2225 /grid.py
parentf452560bef5bd1f4d93d96fb0515ea48c57ec39d (diff)
clean upv21
Diffstat (limited to 'grid.py')
-rw-r--r--grid.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/grid.py b/grid.py
index 7c25ada..ee93683 100644
--- a/grid.py
+++ b/grid.py
@@ -116,8 +116,7 @@ class Grid:
# Place a card at position x,y and display it.
def place_a_card(self, c, x, y):
if c is not None:
- c.spr.x = x
- c.spr.y = y
+ c.spr.move((x,y))
c.show_card()
# Convert from sprite x,y to grid index.