Implements move execution for battle
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
using System.Collections;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using PkmnLib.Static.Utils;
|
||||
|
||||
namespace PkmnLib.Dynamic.ScriptHandling;
|
||||
|
||||
@@ -44,6 +43,10 @@ public class ScriptContainer : IEnumerable<ScriptContainer>
|
||||
return GetEnumerator();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Assigns a new script to this container. If there was a script already, it is removed.
|
||||
/// </summary>
|
||||
/// <param name="script"></param>
|
||||
public void Set(Script script)
|
||||
{
|
||||
if (Script is not null)
|
||||
|
||||
Reference in New Issue
Block a user