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; }
static void createMissileInfo() { Missile temp = Missile.getBullet ().GetComponent<Missile>(); missileInfo = new ShootingInfo(); missileInfo.bulletsPerShot = temp.bulletsPerShot; missileInfo.refireRate = temp.refireRate; }
static void createCrushInfo() { Crush temp = Crush.getBullet ().GetComponent<Crush>(); crushInfo = new ShootingInfo(); crushInfo.bulletsPerShot = temp.bulletsPerShot; crushInfo.refireRate = temp.refireRate; }
static void createPlasmaInfo() { Plasma temp = Plasma.getBullet ().GetComponent<Plasma>(); plasmaInfo = new ShootingInfo(); plasmaInfo.bulletsPerShot = temp.bulletsPerShot; plasmaInfo.refireRate = temp.refireRate; }