Source/GoGame.m
changeset 2 7b0441db81e5
parent 0 e9f7ba4718e1
child 3 40d225cf9c43
     1.1 --- a/Source/GoGame.m	Fri Mar 07 11:43:02 2008 -0800
     1.2 +++ b/Source/GoGame.m	Mon Mar 10 17:32:04 2008 -0700
     1.3 @@ -26,6 +26,7 @@
     1.4  #import "Dispenser.h"
     1.5  #import "Stack.h"
     1.6  #import "QuartzUtils.h"
     1.7 +#import "GGBUtils.h"
     1.8  
     1.9  
    1.10  @implementation GoGame
    1.11 @@ -44,7 +45,7 @@
    1.12  }    
    1.13  
    1.14  
    1.15 -- (id) initWithBoard: (CALayer*)board
    1.16 +- (id) initWithBoard: (GGBLayer*)board
    1.17  {
    1.18      self = [super initWithBoard: board];
    1.19      if (self != nil) {
    1.20 @@ -153,7 +154,7 @@
    1.21              }
    1.22          }
    1.23      if( captured )
    1.24 -        [[NSSound soundNamed: @"Pop"] play];
    1.25 +        PlaySound(@"Pop");
    1.26          
    1.27      [self nextPlayer];
    1.28  }