Source/Game+Protected.h
changeset 12 4e567e11f45f
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	Mon Jul 07 15:47:42 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