public IGameClientBulider SetCheckerGame(Action <MessageContents> alert) { GameType = GameTypes.Checkers; GameBulider = new CheckerBulider(alert); return(this); }
public IGameClientBulider SetChessGame(Action <MessageContents> alert, Func <IEnumerable <PawChess>, PawChess> chosePawUpgrade) { GameType = GameTypes.Chess; GameBulider = new ChessBulider(alert, chosePawUpgrade); return(this); }