Exemplo n.º 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);
 }
Exemplo n.º 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>();
 }