Source/Game-Persistence.h
changeset 8 45c82a071aca
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Source/Game-Persistence.h	Wed May 28 12:47:10 2008 -0700
     1.3 @@ -0,0 +1,20 @@
     1.4 +//
     1.5 +//  Game-Persistence.h
     1.6 +//  GeekGameBoard
     1.7 +//
     1.8 +//  Created by Jens Alfke on 3/16/08.
     1.9 +//  Copyright 2008 __MyCompanyName__. All rights reserved.
    1.10 +//
    1.11 +
    1.12 +#import "Game.h"
    1.13 +
    1.14 +
    1.15 +@interface Game (Persistence) <NSCoding>
    1.16 +
    1.17 ++ (Game*) gameWithURL: (NSURL*)url;
    1.18 +
    1.19 +- (NSURL*) asURL;
    1.20 +
    1.21 +- (BOOL) addMoveFromURL: (NSURL*)url;
    1.22 +
    1.23 +@end