1.1 --- a/Source/HexchequerGame.m Fri Jul 18 13:26:59 2008 -0700
1.2 +++ b/Source/HexchequerGame.m Thu Jul 31 11:18:13 2008 -0700
1.3 @@ -39,9 +39,11 @@
1.4 spacing: CGSizeMake(s,s)
1.5 position: GetCGRectCenter(tableBounds)];
1.6 board.anchorPoint = CGPointMake(0.47,0.5); // Missing half-cells on right edge perturb center pt
1.7 - [board setValue: [NSNumber numberWithDouble: M_PI/6] forKeyPath: @"transform.rotation"];
1.8 + board.transform = CATransform3DMakeRotation(M_PI/6, 0,0,1);
1.9 + board.bitTransform = CATransform3DMakeRotation(-M_PI/6, 0,0,1); // counteract board rotation
1.10 _board = board;
1.11 [_table addSublayer: _board];
1.12 +
1.13 board.allowsMoves = YES;
1.14 board.allowsCaptures = NO; // no land-on captures, that is
1.15 board.cellColor = CreateGray(1.0, 0.25);