public void PickUp(SoGun newGun) { if (_guns.Contains(newGun)) { return; } _guns.Enqueue(newGun); _equippedGun = newGun.getGun(); _equippedGun.Setup(this); }
public MiniGun(GameObject bulletPrefab, SoGun type) { _bulletPrefab = bulletPrefab; _type = type; }
public StandardGun(GameObject bulletPrefab, SoGun type) { _bulletPrefab = bulletPrefab; _type = type; }
public RocketLauncher(GameObject bulletPrefab, SoGun type) { _bulletPrefab = bulletPrefab; _type = type; }