public ChessGridViewModel(IEventService <SettingsChangeEventArgs> eventService, IChessMoveParserService parserService, IEnginePlayerService engineService, IBoardGeneratorService generator, IChessRulesService rules, IChessGameService game) { this.eventService = eventService; eventService.StateChanged += SettingChangedHandler; this.engineService = engineService; engineService.InitPlayer(300); this.GameService = game; this.generatorService = generator; this.rulesService = rules; this.ChessGrid = new ObservableCollection <Square>(); this.parserService = parserService; }
public CheckmateService(IChessRulesService rulesService) { this.rulesService = rulesService; }
public ChessGridViewModel(IBoardGeneratorService generator, IChessRulesService rulesService) { this.generatorService = generator; this.rulesService = rulesService; this.ChessGrid = new ObservableCollection <Square>(); }