Support for deep cloning battles and Pokemon
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using PkmnLib.Dynamic.Models.Choices;
|
||||
using PkmnLib.Dynamic.ScriptHandling;
|
||||
using PkmnLib.Static.Utils;
|
||||
|
||||
namespace PkmnLib.Dynamic.Models;
|
||||
|
||||
@@ -11,7 +12,7 @@ namespace PkmnLib.Dynamic.Models;
|
||||
/// It holds several helper functions to change the turn order while doing the execution. This is needed, as several
|
||||
/// moves in Pokémon actively mess with this order.
|
||||
/// </remarks>
|
||||
public class BattleChoiceQueue
|
||||
public class BattleChoiceQueue : IDeepCloneable
|
||||
{
|
||||
private readonly ITurnChoice?[] _choices;
|
||||
private int _currentIndex;
|
||||
|
||||
Reference in New Issue
Block a user