Ejemplo n.º 1
0
            internal override void ForceMove(PlayerEntity player, long tileId, ITrain train)
            {
                var tile = player
                           .Hand
                           .First(t => t.Id == tileId);

                train.ForceAddTile(tile);
                player.Hand =
                    new HashSet <DominoTileEntity>(
                        player.Hand.Where(t => t.Id != tile.Id));
            }