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