コード例 #1
0
        public WithDeliveryAnimation(Actor self, WithDeliveryAnimationInfo info)
        {
            wsb = self.Trait <WithSpriteBody>();

            this.info = info;
        }
        public WithDeliveryAnimation(Actor self, WithDeliveryAnimationInfo info)
        {
            wsb = self.TraitsImplementing <WithSpriteBody>().Single(w => w.Info.Name == info.Body);

            this.info = info;
        }