public static Task CreateCardAtEnd(this IGwentServerGame game, string cardId, int playerIndex, RowPosition row, Action <CardStatus> setting = null)
 {
     return(game.CreateCard(cardId, playerIndex, new CardLocation(row, game.RowToList(playerIndex, row).Count), setting));
 }
Exemplo n.º 2
0
 public static Task CreateToStayFirst(this IGwentServerGame game, string cardId, int playerIndex, Action <CardStatus> setting = null)
 {
     return(game.CreateCard(cardId, playerIndex, new CardLocation(RowPosition.MyStay, 0), setting));
 }