public static async Task AnimateDrawAsync <D>(this IEventAggregator thisE, D thisCard , EnumAnimcationDirection direction) where D : class, IDeckObject, new() { await thisE.AnimateCardAsync(thisCard, direction, "maindeck"); }
public static async Task AnimatePlayAsync <D>(this IEventAggregator thisE, D thisCard, EnumAnimcationDirection direction, Action?finalAction = null) where D : class, IDeckObject, new() { await thisE.AnimateCardAsync(thisCard, direction, "maindiscard", finalAction : finalAction !); }