1.1 --- a/Source/Card.h Mon Mar 10 17:30:57 2008 -0700
1.2 +++ b/Source/Card.h Tue Jul 08 13:12:01 2008 -0700
1.3 @@ -23,11 +23,6 @@
1.4 #import "Bit.h"
1.5
1.6
1.7 -/** Hardcoded dimensions of a Card */
1.8 -#define kCardWidth 100
1.9 -#define kCardHeight 150
1.10 -
1.11 -
1.12 /* A card of some type (playing card, Community Chest, money, ...)
1.13 Has an identifying serial number (could be in the range 1..52 for playing cards).
1.14 Can be face-up or down. */
1.15 @@ -43,6 +38,9 @@
1.16 Abstract; must be overridden. */
1.17 + (NSRange) serialNumberRange;
1.18
1.19 ++ (CGSize) cardSize;
1.20 ++ (void) setCardSize: (CGSize)size;
1.21 +
1.22 - (id) initWithSerialNumber: (int)serial position: (CGPoint)pos;
1.23
1.24 @property (readonly) int serialNumber;