add: Patchable items and frames
This commit is contained in:
13
src/Resources/FramePatches/FramePatchCollection.cs
Normal file
13
src/Resources/FramePatches/FramePatchCollection.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user