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