Source/Game-Persistence.h
author Jens Alfke <jens@mooseyard.com>
Thu May 29 15:04:06 2008 -0700 (2008-05-29)
changeset 9 a59acc683080
permissions -rw-r--r--
Finally fixed the slow animation performance of board games; all it took was changing the board's z index from 1 to 0, somehow. Games working well now.
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