Пример #1
0
 public AttackPopupTurreted(ActorInitializer init, AttackPopupTurretedInfo info)
     : base(init.Self, info)
 {
     this.info            = info;
     turret               = turrets.FirstOrDefault();
     wsb                  = init.Self.TraitsImplementing <WithSpriteBody>().Single(w => w.Info.Name == info.Body);
     skippedMakeAnimation = init.Contains <SkipMakeAnimsInit>();
 }
Пример #2
0
 public AttackPopupTurreted(ActorInitializer init, AttackPopupTurretedInfo info)
     : base(init.Self, info)
 {
     this.info            = info;
     turret               = turrets.FirstOrDefault();
     rb                   = init.Self.Trait <RenderBuilding>();
     skippedMakeAnimation = init.Contains <SkipMakeAnimsInit>();
 }