コード例 #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");
 }
コード例 #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 !);
 }