diff -r e9f7ba4718e1 -r 7b0441db81e5 Source/Game.h --- a/Source/Game.h Fri Mar 07 11:43:02 2008 -0800 +++ b/Source/Game.h Mon Mar 10 17:32:04 2008 -0700 @@ -20,15 +20,14 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#import -@class Bit, Player; +@class GGBLayer, Bit, Player; @protocol BitHolder; /** Abstract superclass. Keeps track of the rules and turns of a game. */ @interface Game : NSObject { - CALayer *_board; + GGBLayer *_board; NSArray *_players; Player *_currentPlayer, *_winner; } @@ -45,7 +44,7 @@ /** Designated initializer. After calling the superclass implementation, it should add the necessary Grids, Pieces, Cards, Decks etc. to the board. */ -- (id) initWithBoard: (CALayer*)board; +- (id) initWithBoard: (GGBLayer*)board; /** Should return YES if it is legal for the given bit to be moved from its current holder. Default implementation always returns YES. */