Esempio n. 1
0
 public Saturn():base("Saturn",2.0,new Rectangle(0, -700, Block.Width, 100),1250.0,5000000000)
 {
     WeaponInfo info = new WeaponInfo();
     info.SetBase(this, 3.5);
     info.SetBullet(10.0, 0.1, 7.5, 20.0);
     WEAPON.Add(new Strafe_Gun(info, 30.0 * Math.PI / 180.0, 3.0, 0.0));
     WEAPON.Add(new Strafe_Gun(info, 30.0 * Math.PI / 180.0, 3.0, 2.0 / 3.0 * Math.PI));
     WEAPON.Add(new Strafe_Gun(info, 30.0 * Math.PI / 180.0, 3.0, 4.0 / 3.0 * Math.PI));
     info.SetDamage(200.0).SetFirePeriod(5.0);
     info.SetBulletSpeed(5.0);
     WEAPON.Add(new Missile_Launcher(info, 4.0));
 }
Esempio n. 2
0
 public Earth()
     : base("Earth", 2.0, new Rectangle(0, -400, Block.Width, 100), 600.0, 50000000)
 {
     WeaponInfo info = new WeaponInfo();
     info.SetBase(this, 4.5);
     info.SetBullet(50.0, 0.5, 7.5, 20.0);
     WEAPON.Add(new Strafe_Cannon(info, 30.0 * Math.PI / 180.0, 3.0, 0.0));
     WEAPON.Add(new Strafe_Cannon(info, 30.0 * Math.PI / 180.0, 3.0, Math.PI));
     info.SetDamage(30.0).SetFirePeriod(0.1);
     info.SetBulletSpeed(7.5);
     info.TurnAroundPeriod = 2.5;
     WEAPON.Add(new Whirl_Gun(info, 0, true));
 }
Esempio n. 3
0
 public Jupiter():base("Jupiter",2.0,new Rectangle(0, -600, Block.Width, 100), 1000.0, 1000000000)
 {
     WeaponInfo info = new WeaponInfo();
     info.SetBase(this, 3.5);
     info.SetBullet(7.5, 0.1, 7.5, 20.0);
     WEAPON.Add(new Strafe_Gun(info, 30.0 * Math.PI / 180.0, 3.0, 0.0));
     WEAPON.Add(new Strafe_Gun(info, 30.0 * Math.PI / 180.0, 3.0, 2.0 / 3.0 * Math.PI));
     WEAPON.Add(new Strafe_Gun(info, 30.0 * Math.PI / 180.0, 3.0, 4.0 / 3.0 * Math.PI));
     info.SetDamage(200.0).SetFirePeriod(1.0);
     info.SetBulletSpeed(10.0);
     WEAPON.Add(new Whirl_Cannon(info, 0.0, true));
     WEAPON.Add(new Whirl_Cannon(info, 2.0 / 3.0 * Math.PI, true));
     WEAPON.Add(new Whirl_Cannon(info, 4.0 / 3.0 * Math.PI, true));
 }