Esempio n. 1
0
 static void createRocketInfo()
 {
     Rocket temp = Rocket.getBullet ().GetComponent<Rocket>();
     rocketInfo = new ShootingInfo();
     rocketInfo.bulletsPerShot = temp.bulletsPerShot;
     rocketInfo.refireRate = temp.refireRate;
 }
Esempio n. 2
0
 static void createMachineGunInfo()
 {
     MachineGun temp = MachineGun.getBullet ().GetComponent<MachineGun>();
     machinegunInfo = new ShootingInfo();
     machinegunInfo.bulletsPerShot = temp.bulletsPerShot;
     machinegunInfo.refireRate = temp.refireRate;
 }
Esempio n. 3
0
 static void createMissileInfo()
 {
     Missile temp = Missile.getBullet ().GetComponent<Missile>();
     missileInfo = new ShootingInfo();
     missileInfo.bulletsPerShot = temp.bulletsPerShot;
     missileInfo.refireRate = temp.refireRate;
 }
Esempio n. 4
0
 static void createCrushInfo()
 {
     Crush temp = Crush.getBullet ().GetComponent<Crush>();
     crushInfo = new ShootingInfo();
     crushInfo.bulletsPerShot = temp.bulletsPerShot;
     crushInfo.refireRate = temp.refireRate;
 }
Esempio n. 5
0
 static void createPlasmaInfo()
 {
     Plasma temp = Plasma.getBullet ().GetComponent<Plasma>();
     plasmaInfo = new ShootingInfo();
     plasmaInfo.bulletsPerShot = temp.bulletsPerShot;
     plasmaInfo.refireRate = temp.refireRate;
 }