Esempio n. 1
0
        public static void Add(Vector3 position, Vector3 initialVelocity, Vector3 direction, MyMwcObjectBuilder_SmallShip_Ammo usedAmmo, MySmallShip ignoreMinerShip)
        {
            MyCannonShot newMissile = m_missiles.Allocate();

            if (newMissile != null)
            {
                newMissile.Start(position, initialVelocity, direction, usedAmmo, ignoreMinerShip);
            }
        }
Esempio n. 2
0
 //  Update active missiles. If missile dies/timeouts, remove it from the list.
 public static void Remove(MyCannonShot item)
 {
     m_missiles.Deallocate(item);
 }
Esempio n. 3
0
 //  Update active missiles. If missile dies/timeouts, remove it from the list.
 public static void Remove(MyCannonShot item)
 {
     m_missiles.Deallocate(item);
 }