Ejemplo n.º 1
0
 public static async Task AnimateDrawAsync <D>(this IEventAggregator thisE, D thisCard
                                               , EnumAnimcationDirection direction) where D : class, IDeckObject, new()
 {
     await thisE.AnimateCardAsync(thisCard, direction, "maindeck");
 }
Ejemplo n.º 2
0
 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 !);
 }