diff options
author | Walter Bender <walter.bender@gmail.com> | 2011-03-15 01:35:40 (GMT) |
---|---|---|
committer | Walter Bender <walter.bender@gmail.com> | 2011-03-15 01:35:40 (GMT) |
commit | f84386784d4f447fb20b00bceb5f2f731e45c65b (patch) | |
tree | e4395390c5ccc9510eeae089135129987e6ee2d1 /hand.py | |
parent | 0279518276390439777a351a770c9e98b23d6ab3 (diff) |
on the path to sharing
Diffstat (limited to 'hand.py')
-rw-r--r-- | hand.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -22,17 +22,17 @@ CARDS = 3 class Hand: ''' Class for managing COL matrix of cards ''' - def __init__(self, card_width, card_height, robot=False): + def __init__(self, card_width, card_height, remote=False): # the tiles in your hand self.hand = [] - self.robot = robot # Does this hand belong to the robot? + self.remote = remote # Does this hand belong to someone remote? for i in range(COL): self.hand.append(None) # card spacing self.xinc = int(card_width) - if self.robot: + if self.remote: self.left = -self.xinc else: self.left = int(card_width / 2) |