using Godot;
namespace Cthangover.CardBattle
{
///
/// Common interface for all card UI nodes in the card battle system.
/// Exposes the Frame and Image controls so that
/// can perform hit-testing during drag-and-drop targeting
/// without knowing the concrete card type ( or ).
///
public interface ICard
{
///
/// The frame used for hit-testing whether a pointer is over this card.
///
TextureRect Frame { get; }
///
/// The portrait/image of the card, used for dissolve shader effects on death.
///
TextureRect Image { get; }
}
}