public BWeapon(int amount, WeapType wt,WeapRanType wrt, ContactType ctype) : base() { //this.master = (BWarship)node; this.ctype = ctype; this.Amount =amount; this.WeaponRangeType = wrt; this.WeaponType = wt; }
public BWeapon(int amount, WeapType wt, WeapRanType wrt, ContactType ctype) : base() { //this.master = (BWarship)node; this.ctype = ctype; this.Amount = amount; this.WeaponRangeType = wrt; this.WeaponType = wt; }
public BDefenseCannon(int amount, WeapType wt,WeapRanType wrt, ContactType ctype, float shootcd) : base(amount,wt,wrt ,ctype) { //数据设置 width =5; height = 5; speed = 8f; Att = 2f; shootCd =new Countdown(shootcd); }
public BDefenseCannon(int amount, WeapType wt, WeapRanType wrt, ContactType ctype, float shootcd) : base(amount, wt, wrt, ctype) { //数据设置 width = 5; height = 5; speed = 8f; Att = 2f; shootCd = new Countdown(shootcd); }
public BGeneralBomb(int amount, WeapType wt,WeapRanType wrt,ContactType ctype, float shootcd) : base(amount,wt,wrt,ctype) { //数据设置 width =12; height = 12; speed =4.6f; startBomb = 0.1f; Att = 0.5f; shootCd = new Countdown(shootcd); }
public BGeneralBomb(int amount, WeapType wt, WeapRanType wrt, ContactType ctype, float shootcd) : base(amount, wt, wrt, ctype) { //数据设置 width = 12; height = 12; speed = 4.6f; startBomb = 0.1f; Att = 0.5f; shootCd = new Countdown(shootcd); }
public BDoubleMissile(int amount, WeapType wt,WeapRanType wrt,ContactType ctype, float shootcd) : base(amount,wt,wrt,ctype) { //数据设置 width =8; height = 8; speed = 3.8f; Att = 5f; rots=0.08f; rotsInc = 0.0003f; speed =6f; shootCd = new Countdown(shootcd); //一次的发射数量 OnceAmount = 2; }
public BDoubleMissile(int amount, WeapType wt, WeapRanType wrt, ContactType ctype, float shootcd) : base(amount, wt, wrt, ctype) { //数据设置 width = 8; height = 8; speed = 3.8f; Att = 5f; rots = 0.08f; rotsInc = 0.0003f; speed = 6f; shootCd = new Countdown(shootcd); //一次的发射数量 OnceAmount = 2; }