Exemple #1
0
 public WithLandingCraftAnimation(ActorInitializer init, WithLandingCraftAnimationInfo info)
 {
     this.info = info;
     self      = init.Self;
     cargo     = self.Trait <Cargo>();
     move      = self.Trait <IMove>();
     wsb       = init.Self.TraitsImplementing <WithSpriteBody>().Single(w => w.Info.Name == info.Body);
 }
Exemple #2
0
 public WithLandingCraftAnimation(ActorInitializer init, WithLandingCraftAnimationInfo info)
 {
     this.info = info;
     self      = init.Self;
     cargo     = self.Trait <Cargo>();
     move      = self.Trait <IMove>();
     wsb       = init.Self.Trait <WithSpriteBody>();
 }