Source/Game.h
changeset 2 7b0441db81e5
parent 0 e9f7ba4718e1
child 3 40d225cf9c43
     1.1 --- a/Source/Game.h	Fri Mar 07 11:43:02 2008 -0800
     1.2 +++ b/Source/Game.h	Mon Mar 10 17:32:04 2008 -0700
     1.3 @@ -20,15 +20,14 @@
     1.4      CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF 
     1.5      THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     1.6  */
     1.7 -#import <Cocoa/Cocoa.h>
     1.8 -@class Bit, Player;
     1.9 +@class GGBLayer, Bit, Player;
    1.10  @protocol BitHolder;
    1.11  
    1.12  
    1.13  /** Abstract superclass. Keeps track of the rules and turns of a game. */
    1.14  @interface Game : NSObject
    1.15  {
    1.16 -    CALayer *_board;
    1.17 +    GGBLayer *_board;
    1.18      NSArray *_players;
    1.19      Player *_currentPlayer, *_winner;
    1.20  }
    1.21 @@ -45,7 +44,7 @@
    1.22  
    1.23  /** Designated initializer. After calling the superclass implementation,
    1.24      it should add the necessary Grids, Pieces, Cards, Decks etc. to the board. */
    1.25 -- (id) initWithBoard: (CALayer*)board;
    1.26 +- (id) initWithBoard: (GGBLayer*)board;
    1.27  
    1.28  /** Should return YES if it is legal for the given bit to be moved from its current holder.
    1.29      Default implementation always returns YES. */