Source/Grid.h
changeset 15 73f8c889f053
parent 12 4e567e11f45f
child 22 4cb50131788f
     1.1 --- a/Source/Grid.h	Mon Jul 07 15:47:42 2008 -0700
     1.2 +++ b/Source/Grid.h	Wed Jul 09 17:07:45 2008 -0700
     1.3 @@ -32,7 +32,7 @@
     1.4      Class _cellClass;                                   
     1.5      CGColorRef _cellColor, _lineColor;                  
     1.6      CGImageRef _backgroundImage;
     1.7 -    BOOL _usesDiagonals, _allowsMoves, _allowsCaptures;
     1.8 +    BOOL _usesDiagonals, _allowsMoves, _allowsCaptures, _reversed;
     1.9      NSMutableArray *_cells;                             // Really a 2D array, in row-major order.
    1.10  }
    1.11  
    1.12 @@ -55,6 +55,7 @@
    1.13  @property CGImageRef backgroundImage;           // Image drawn in background, behind lines and cells
    1.14  @property BOOL usesDiagonals;                   // Affects GridCell.neighbors, for rect grids
    1.15  @property BOOL allowsMoves, allowsCaptures;     // Can pieces be moved, and can they land on others?
    1.16 +@property BOOL reversed;                        // Reverses board (rotates 180°) by exchanging cell positions
    1.17  
    1.18  @property (readonly) NSArray *cells;
    1.19