Пример #1
0
 public Grenade(Vector position, Vector direction, GrenadeData grenadeData, Universe.Map map)
     : base(position, direction, grenadeData, map)
 {
     shrapnelsData = grenadeData.shrapnelsData;
     this.map      = map;
     isBombing     = false;
 }
Пример #2
0
 public VolleyBulletData(int bulletsNumber, int delay, double precision, IBulletData bulletsData)
 {
     this.bulletsNumber = bulletsNumber;
     this.delay         = delay;
     this.precision     = precision;
     this.bulletsData   = bulletsData;
 }
Пример #3
0
 public MagicBulletData(string modelID, double range, double speed, double radius, IBulletData data)
 {
     this.modelID = modelID;
     this.speed   = speed;
     this.range   = range;
     this.radius  = radius;
     this.data    = data;
 }
Пример #4
0
 public WeaponData(IBulletData bulletData, int delay, string name)
 {
     this.bulletData = bulletData;
     this.delay      = delay;
     this.name       = name;
 }
Пример #5
0
 public GrenadeData(string modelID, double range, double speed, int shrapnelsNumber, IBulletData shrapnelsData)
     : base(modelID, range, speed, 0, 0, true)
 {
     this.shrapnelsNumber = shrapnelsNumber;
     this.shrapnelsData   = shrapnelsData;
 }
Пример #6
0
 public Weapon(IBulletData data, int delay, string name)
 {
     this.data  = data;
     this.delay = delay;
     this.name  = name;
 }