// // IEnemySelector.cs // // Copyright (c) František Boháček. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using NosSmooth.Game.Data.Entities; using Remora.Results; namespace NosSmooth.Extensions.Combat.Selectors; /// /// Selects an enemy from the possible enemies. /// public interface IEnemySelector { /// /// Gets the entity to be currently selected. /// /// The combat state. /// The collection of possible targets. /// The selected entity, or an error. public Result GetSelectedEntity(ICombatState combatState, ICollection possibleTargets); }