Support for deep cloning battles and Pokemon

This commit is contained in:
2024-12-29 13:51:59 +01:00
parent b3529fa22f
commit 40803f0269
13 changed files with 356 additions and 12 deletions

View File

@@ -12,7 +12,7 @@ namespace PkmnLib.Dynamic.ScriptHandling;
/// changes. This allows for easily defining generational differences, and add effects that the
/// developer might require.
/// </summary>
public abstract class Script
public abstract class Script : IDeepCloneable
{
internal event Action<Script>? OnRemoveEvent;