示例#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);
            }
        }
示例#2
0
 //  Update active missiles. If missile dies/timeouts, remove it from the list.
 public static void Remove(MyCannonShot item)
 {
     m_missiles.Deallocate(item);
 }
示例#3
0
 //  Update active missiles. If missile dies/timeouts, remove it from the list.
 public static void Remove(MyCannonShot item)
 {
     m_missiles.Deallocate(item);
 }