25 lines
461 B
C#
25 lines
461 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Text.RegularExpressions;
|
|
using System.Text;
|
|
|
|
using System;
|
|
using System.Linq;
|
|
using System.IO;
|
|
using System.Diagnostics;
|
|
using Godot;
|
|
|
|
using Rokojori.Extensions;
|
|
namespace Rokojori.Extensions;
|
|
|
|
public static class HashSetExtensions
|
|
{
|
|
public static void ForEach<T>( this HashSet<T> set, Action<T> callback )
|
|
{
|
|
foreach ( var item in set )
|
|
{
|
|
callback( item );
|
|
}
|
|
}
|
|
}
|