static public void SetType(GunType type) { switch (type) { case (GunType.Ak47): current_gun = new Ak47(); break; case (GunType.Minigun): current_gun = new Minigun(); break; case (GunType.SimpleGun): current_gun = new SimpleWeapon(); break; case (GunType.Shotgun): current_gun = new Shotgun(); break; default: break; } BulletManager.Reload(); }
void Reload() { BulletManager.Reload(); }