Source/Game-Persistence.h
author Jens Alfke <jens@mooseyard.com>
Wed May 28 12:47:10 2008 -0700 (2008-05-28)
changeset 8 45c82a071aca
permissions -rw-r--r--
* Got it working with latest iPhone SDK.
* Fixed some text alignment issues that showed up on PlayingCards.
* Working on persistence and move-tracking for Game.
jens@8
     1
//
jens@8
     2
//  Game-Persistence.h
jens@8
     3
//  GeekGameBoard
jens@8
     4
//
jens@8
     5
//  Created by Jens Alfke on 3/16/08.
jens@8
     6
//  Copyright 2008 __MyCompanyName__. All rights reserved.
jens@8
     7
//
jens@8
     8
jens@8
     9
#import "Game.h"
jens@8
    10
jens@8
    11
jens@8
    12
@interface Game (Persistence) <NSCoding>
jens@8
    13
jens@8
    14
+ (Game*) gameWithURL: (NSURL*)url;
jens@8
    15
jens@8
    16
- (NSURL*) asURL;
jens@8
    17
jens@8
    18
- (BOOL) addMoveFromURL: (NSURL*)url;
jens@8
    19
jens@8
    20
@end