コード例 #1
0
 public WithAcceptDeliveredCashAnimation(Actor self, WithAcceptDeliveredCashAnimationInfo info)
 {
     this.info = info;
     wsbs      = self.TraitsImplementing <WithSpriteBody>().ToArray();
 }
 public WithAcceptDeliveredCashAnimation(Actor self, WithAcceptDeliveredCashAnimationInfo info)
 {
     this.info = info;
     wsb       = self.TraitsImplementing <WithSpriteBody>().Single(w => w.Info.Name == info.Body);
 }