Esempio n. 1
0
        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();
        }
Esempio n. 2
0
 void Reload()
 {
     BulletManager.Reload();
 }