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