Esempio n. 1
0
 public AssaultRifle(BulletManager bm, Player p)
     : base(bm, typeof(Bullet), p)
 {
     maxClip = 60;
     reloadTime = 3.0;
     rateOfFire = 0.05;
     damage = 0.5f;
     clip = maxClip;
     icon = TextureManager.Map["assault-rifle"];
 }
Esempio n. 2
0
 public GrenadeLauncher(BulletManager bm, Player p)
     : base(bm, typeof(Grenade), p)
 {
     maxClip = 4;
     reloadTime = 3.2;
     rateOfFire = 1.2;
     damage = 0;
     clip = maxClip;
     icon = TextureManager.Map["grenade-launcher"];
 }
Esempio n. 3
0
 public RocketLauncher(BulletManager bm, Player p)
     : base(bm, typeof(Rocket), p)
 {
     maxClip = 2;
     reloadTime = 4;
     rateOfFire = 2;
     damage = 0;
     clip = maxClip;
     icon = TextureManager.Map["rocket-launcher"];
 }
Esempio n. 4
0
 public Flamethrower(BulletManager bm, Player p)
     : base(bm, typeof(Flame), p)
 {
     maxClip = 80;
     reloadTime = 3.0;
     rateOfFire = 0.07;
     damage = 0.75f;
     clip = maxClip;
     icon = TextureManager.Map["flames"];
 }
Esempio n. 5
0
 public Revolver(BulletManager bm, Player p)
     : base(bm, typeof(Bullet), p)
 {
     maxClip = 6;
     reloadTime = 2.2;
     rateOfFire = 0.1;
     damage = 1.5f;
     clip = maxClip;
     icon = TextureManager.Map["revolver"];
 }
Esempio n. 6
0
 public Crossbow(BulletManager bm, Player p)
     : base(bm, typeof(Arrow), p)
 {
     maxClip = 1;
     reloadTime = 3.0;
     rateOfFire = 0.0;
     damage = 3;
     clip = maxClip;
     icon = TextureManager.Map["crossbow"];
 }
Esempio n. 7
0
 public DartGun(BulletManager bm, Player p)
     : base(bm, typeof(Dart), p)
 {
     maxClip = 3;
     reloadTime = 1;
     rateOfFire = 0.3;
     damage = 0.2f;
     clip = maxClip;
     icon = TextureManager.Map["dartgun"];
 }
Esempio n. 8
0
 public Pistols(BulletManager bm, Player p, Pistols g = null)
     : base(bm, typeof(Bullet), p)
 {
     maxClip = 12;
     reloadTime = 1.35;
     rateOfFire = 0.05;
     damage = 0.75f;
     clip = maxClip;
     secondGun = g;
     icon = TextureManager.Map["pistols"];
 }
Esempio n. 9
0
 public Shotgun(BulletManager bm, Player p)
     : base(bm, typeof(Shell), p)
 {
     maxClip = 6;
     reloadTime = 1.6;
     rateOfFire = 0.4;
     damage = 1.0f;
     clip = maxClip;
     numShots = clip;
     icon = TextureManager.Map["shotgun"];
 }
Esempio n. 10
0
 public Gun(BulletManager bm, Type bt, Player p)
 {
     manager = bm;
     bulletType = bt;
     player = p;
 }