1.1 --- a/Source/Game.h Wed Jul 09 17:07:45 2008 -0700
1.2 +++ b/Source/Game.h Thu Jul 17 13:29:04 2008 -0700
1.3 @@ -29,7 +29,7 @@
1.4 /** Abstract superclass. Keeps track of the rules and turns of a game. */
1.5 @interface Game : NSObject <NSCoding>
1.6 {
1.7 - GGBLayer *_board;
1.8 + GGBLayer *_table;
1.9 NSArray *_players;
1.10 Player *_winner;
1.11 NSMutableArray *_turns;
1.12 @@ -55,8 +55,8 @@
1.13 /** Designated initializer: override this if your subclass needs additional initialization. */
1.14 - (id) init;
1.15
1.16 -/** Convenience initializer that calls -init, -setBoard:, and -nextTurn. */
1.17 -- (id) initNewGameWithBoard: (GGBLayer*)board;
1.18 +/** Convenience initializer that calls -init, -setTable:, and -nextTurn. */
1.19 +- (id) initNewGameWithTable: (GGBLayer*)table;
1.20
1.21 /** NSCoding initializer. Calls -init, but then restores saved payers, states, moves. */
1.22 - (id) initWithCoder: (NSCoder*)decoder;
1.23 @@ -69,7 +69,7 @@
1.24 @property (readonly) Player *currentPlayer, *winner, *remotePlayer;
1.25 @property (readonly, getter=isLocal) BOOL local; // Are all players local?
1.26
1.27 -@property (retain) GGBLayer *board; // The root layer for the game.
1.28 +@property (retain) GGBLayer *table; // The root layer for the game.
1.29
1.30 @property (readonly) NSArray *turns;
1.31 @property (readonly) Turn *currentTurn, *latestTurn;