Ejemplo 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);
            }
        }
Ejemplo 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);
 }
Ejemplo 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);
 }