31 lines
661 B
C#
31 lines
661 B
C#
using PkmnLib.Dynamic.ScriptHandling;
|
|
|
|
namespace PkmnLib.Dynamic.Models.Choices;
|
|
|
|
/// <summary>
|
|
/// A choice to pass a turn.
|
|
/// </summary>
|
|
public interface IPassChoice : ITurnChoice
|
|
{
|
|
}
|
|
|
|
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);
|
|
}
|
|
} |