Support for deep cloning battles and Pokemon

This commit is contained in:
Deukhoofd committed 2024-12-29 13:51:59 +01:00
1 parent b3529fa22f
commit 40803f0269
13 files changed
+356 -12

No files matched your search

+2 -1
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.