2024-07-27 14:26:45 +00:00
|
|
|
namespace PkmnLib.Dynamic.Models;
|
|
|
|
|
2024-07-28 10:29:47 +00:00
|
|
|
/// <summary>
|
|
|
|
/// A battle party is a wrapper around a Pokemon party that provides additional functionality for battles.
|
|
|
|
/// It indicates for which side and position the party is responsible.
|
|
|
|
/// </summary>
|
2024-07-27 14:26:45 +00:00
|
|
|
public interface IBattleParty
|
|
|
|
{
|
2024-07-28 10:29:47 +00:00
|
|
|
/// <summary>
|
|
|
|
/// The backing Pokemon party.
|
|
|
|
/// </summary>
|
2024-07-27 14:26:45 +00:00
|
|
|
IPokemonParty Party { get; }
|
2024-07-28 10:29:47 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Whether the party is responsible for the specified side and position.
|
|
|
|
/// </summary>
|
2024-07-27 14:26:45 +00:00
|
|
|
bool IsResponsibleForIndex(byte side, byte position);
|
2024-07-28 10:29:47 +00:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Whether the party has a living Pokemon left that is not in the field.
|
|
|
|
/// </summary>
|
2024-07-27 14:26:45 +00:00
|
|
|
bool HasPokemonNotInField();
|
|
|
|
}
|