Files
Polonium/src/Resources/FramePatches/FramePatchCollection.cs

14 lines
374 B
C#

using Polonium.Interfaces;
namespace Polonium.Resources.FramePatches;
public partial class FramePatchCollection : FramePatches.FramePatch
{
public HashSet<FramePatches.FramePatch> Updates { get; set; } = new();
public override void Patch(IPatchableFrame receiver)
{
foreach (FramePatches.FramePatch p in Updates)
p.Patch(receiver);
}
}