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

@@ -1,4 +1,5 @@
using PkmnLib.Static.Moves;
using PkmnLib.Static.Utils;
namespace PkmnLib.Dynamic.Models;
@@ -42,7 +43,7 @@ public enum MoveLearnMethod
/// A learned move is the data attached to a Pokemon for a move it has learned. It has information
/// such as the remaining amount of users, how it has been learned, etc.
/// </summary>
public interface ILearnedMove
public interface ILearnedMove : IDeepCloneable
{
/// <summary>
/// The immutable move information of the move.