add: Patchable items and frames

This commit is contained in:
h z
2025-03-04 11:58:14 +00:00
parent 684763f0cc
commit 93fbe0869b
18 changed files with 163 additions and 26 deletions

View File

@@ -0,0 +1,13 @@
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);
}
}