Пример #1
0
 public Gun_Set(Planet parent, double turnaroundperiod, double bulletspeed, double fireperiod, double damage, double endurance, int count, double interval)
     : base(null, null, default(Point), default(ImagePasteMode))
 {
     GUNS = new Gun[count];
     for (int i = 0; i < count; i++)
     {
         GUNS[i] = new Gun(parent, turnaroundperiod, bulletspeed, fireperiod, damage, endurance, interval * (i - 0.5 * (count - 1)));
     }
 }
Пример #2
0
        public GunBullet(Planet planet, Gun parent)
            : base(planet, parent, BITMAP.FromFile(@"Picture\Sky\Weapon\Gun Bullet.png"), 1, 0.0)
        {

        }