2024-08-23 09:15:53 +00:00
|
|
|
using PkmnLib.Dynamic.ScriptHandling;
|
|
|
|
|
2024-07-27 14:26:45 +00:00
|
|
|
namespace PkmnLib.Dynamic.Models.Choices;
|
|
|
|
|
2024-07-28 10:52:17 +00:00
|
|
|
/// <summary>
|
|
|
|
/// A choice to pass a turn.
|
|
|
|
/// </summary>
|
2024-07-27 14:26:45 +00:00
|
|
|
public interface IPassChoice : ITurnChoice
|
|
|
|
{
|
|
|
|
|
2024-08-23 09:15:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public class PassChoice : TurnChoice, IPassChoice
|
|
|
|
{
|
|
|
|
public PassChoice(IPokemon user) : base(user)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
public override int ScriptCount => User.ScriptCount;
|
|
|
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
public override void GetOwnScripts(List<IEnumerable<ScriptContainer>> scripts)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
public override void CollectScripts(List<IEnumerable<ScriptContainer>> scripts)
|
|
|
|
{
|
|
|
|
User.CollectScripts(scripts);
|
|
|
|
}
|
2024-07-27 14:26:45 +00:00
|
|
|
}
|