1.1 --- a/Source/Grid.h Wed Jul 09 17:07:45 2008 -0700
1.2 +++ b/Source/Grid.h Thu Jul 31 13:23:44 2008 -0700
1.3 @@ -34,6 +34,7 @@
1.4 CGImageRef _backgroundImage;
1.5 BOOL _usesDiagonals, _allowsMoves, _allowsCaptures, _reversed;
1.6 NSMutableArray *_cells; // Really a 2D array, in row-major order.
1.7 + CATransform3D _bitTransform;
1.8 }
1.9
1.10 /** Initializes a new Grid with the given dimensions and cell size, and position in superview.
1.11 @@ -57,6 +58,9 @@
1.12 @property BOOL allowsMoves, allowsCaptures; // Can pieces be moved, and can they land on others?
1.13 @property BOOL reversed; // Reverses board (rotates 180°) by exchanging cell positions
1.14
1.15 +@property CATransform3D bitTransform;
1.16 +- (void) updateCellTransform;
1.17 +
1.18 @property (readonly) NSArray *cells;
1.19
1.20 /** Returns the GridCell at the given coordinates, or nil if there is no cell there.