Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
 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);
 }
Esempio n. 4
0
 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);
 }
Esempio n. 5
0
 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);
 }
Esempio n. 6
0
 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);
 }
Esempio n. 7
0
        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;
        }
Esempio n. 8
0
        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;
        }