#import <Cocoa/Cocoa.h>
#import <GameKit/GameKit.h>
@class MBCBoard;
@class MBCBoardView;
@class MBCEngine;
@class MBCInteractivePlayer;
@class MBCGameInfo;
@class MBCRemotePlayer;
@class MBCAnimation;
@interface MBCBoardWin : NSWindowController <NSWindowDelegate,
GKAchievementViewControllerDelegate,
GKTurnBasedMatchmakerViewControllerDelegate>
{
NSMutableArray * fObservers;
GKAchievementViewController * fAchievements;
MBCAnimation * fCurAnimation;
}
@property (nonatomic, assign) IBOutlet MBCBoardView * gameView;
@property (nonatomic, assign) IBOutlet NSPanel * gameNewSheet;
@property (nonatomic, assign) IBOutlet NSBox * logContainer;
@property (nonatomic, assign) IBOutlet NSView * logView;
@property (nonatomic, assign) IBOutlet MBCBoard * board;
@property (nonatomic, assign) IBOutlet MBCEngine * engine;
@property (nonatomic, assign) IBOutlet MBCInteractivePlayer * interactive;
@property (nonatomic, assign) IBOutlet MBCGameInfo * gameInfo;
@property (nonatomic, assign) IBOutlet MBCRemotePlayer * remote;
@property (nonatomic, assign) IBOutlet NSLayoutConstraint * logViewRightEdgeConstraint;
@property (nonatomic, assign) IBOutlet GKDialogController * dialogController;
@property (nonatomic, readonly) NSSpeechSynthesizer * primarySynth;
@property (nonatomic, readonly) NSSpeechSynthesizer * alternateSynth;
@property (nonatomic, readonly) NSDictionary * primaryLocalization;
@property (nonatomic, readonly) NSDictionary * alternateLocalization;
- (void) removeChessObservers;
- (IBAction)takeback:(id)sender;
- (void) requestTakeback;
- (void) requestDraw;
- (IBAction)resign:(id)sender;
- (IBAction)showHint:(id)sender;
- (IBAction)showLastMove:(id)sender;
- (IBAction)toggleLogView:(id)sender;
- (IBAction) startNewGame:(id)sender;
- (IBAction) cancelNewGame:(id)sender;
- (IBAction) showAchievements:(id)sender;
- (IBAction) profileDraw:(id)sender;
- (void)adjustLogView;
- (BOOL)listenForMoves;
- (NSString *)speakOpponentTitle;
- (BOOL)speakMoves;
- (BOOL)speakHumanMoves;
- (IBAction) updatePlayers:(id)sender;
- (BOOL)hideEngineStrength;
- (BOOL)hideNewGameSides;
- (BOOL)hideSpeakMoves;
- (BOOL)hideSpeakHumanMoves;
- (BOOL)hideEngineProperties;
- (BOOL)hideRemoteProperties;
- (NSString *)engineStrength;
+ (NSSet *) keyPathsForValuesAffectingEngineStrength;
- (IBAction) showPreferences:(id)sender;
- (void)setAngle:(float)angle spin:(float)spin;
- (void)handleRemoteResponse:(NSString *)response;
- (void)endAnimation;
@end