Source/Game+Protected.h
changeset 15 73f8c889f053
parent 10 6c78cc6bd7a6
child 22 4cb50131788f
     1.1 --- a/Source/Game+Protected.h	Thu Jul 03 17:44:30 2008 -0700
     1.2 +++ b/Source/Game+Protected.h	Wed Jul 09 17:07:45 2008 -0700
     1.3 @@ -12,6 +12,7 @@
     1.4  #import "Turn.h"
     1.5  #import "Bit.h"
     1.6  #import "BitHolder.h"
     1.7 +@class Piece;
     1.8  
     1.9  
    1.10  /** Game API for subclasses to use / override */
    1.11 @@ -62,4 +63,8 @@
    1.12   The string must have been returned by -currentMove at some point. */
    1.13  - (BOOL) applyMoveString: (NSString*)move;
    1.14  
    1.15 +/** An optional method called as a subroutine by -[Grid setStateString:].
    1.16 +    If you decide to call that in your -setStateString: implementation, you need to implement this too. */ 
    1.17 +- (Piece*) makePieceNamed: (NSString*)name;
    1.18 +
    1.19  @end