using System; using DominionBase; namespace Dominion.NET_WPF { public class CardHoverEventArgs : EventArgs { public readonly IDisplayable Card; public CardHoverEventArgs(IDisplayable card) { Card = card; } } public class CardHover { public delegate void CardHoverEventHandler(object sender, CardHoverEventArgs e); public static event CardHoverEventHandler CardHoverEvent; public static void RaiseCardHoverEvent(object sender, CardHoverEventArgs args) { CardHoverEvent?.Invoke(sender, args); } } }