AcademyPopcorn.Gift.ProduceObjects C# (CSharp) Метод

ProduceObjects() публичный Метод

public ProduceObjects ( ) : System.Collections.Generic.IEnumerable
Результат System.Collections.Generic.IEnumerable
        public override System.Collections.Generic.IEnumerable<GameObject> ProduceObjects()
        {
            List<GameObject> produceShootingRacket = new List<GameObject>();
            if (this.IsDestroyed)
            {
                produceShootingRacket.Add(new ShootingRacket(new MatrixCoords(this.topLeft.Row + 1, this.topLeft.Col - 10), 10));
            }
            return produceShootingRacket;
        }
    }