Implements switching Pokemon and fleeing from battle

This commit is contained in:
2024-12-30 11:43:04 +01:00
parent 9bdd584b54
commit 1f5a320090
5 changed files with 123 additions and 2 deletions

View File

@@ -7,7 +7,10 @@ namespace PkmnLib.Dynamic.Models.Choices;
/// </summary>
public interface ISwitchChoice : ITurnChoice
{
/// <summary>
/// The Pokémon to switch to.
/// </summary>
IPokemon SwitchTo { get; }
}
/// <inheritdoc cref="ISwitchChoice"/>
@@ -18,6 +21,7 @@ public class SwitchChoice : TurnChoice, ISwitchChoice
SwitchTo = switchTo;
}
/// <inheritdoc />
public IPokemon SwitchTo { get; }
/// <inheritdoc />