public Response AddSet(List <PieceModel> set, string playerName) { var(response, game) = _rummyEngine.AddSet(Game, set, playerName); Game = game; OnDropSetOnTable.Invoke(); return(response); }
public Response AddPieceToSet(int setIndex, string setPlayerName, bool right, PieceModel piece, string playerName) { var(response, game) = _rummyEngine.AddPieceToSet(Game, setIndex, setPlayerName, right, piece, playerName); Game = game; OnDropSetOnTable.Invoke(); return(response); }