Inheritance: Gears.Playable.UnitTypeFactory
コード例 #1
0
ファイル: JoeZoneUnitManager.cs プロジェクト: ZFGCCP/gearsvge
        private void Register()
        {
            esf = new Enemy1Factory();
            List<UnitTypeFactory> _lFact = new List<UnitTypeFactory>();
            _lFact.Add(esf); //iterate this for each UnitTypeFactory

            base.Register(_lFact.ToArray());
            _lFact = null; //this probably isn't necessary, is it?
        }
コード例 #2
0
        private void Register()
        {
            esf = new Enemy1Factory();
            List <UnitTypeFactory> _lFact = new List <UnitTypeFactory>();

            _lFact.Add(esf); //iterate this for each UnitTypeFactory



            base.Register(_lFact.ToArray());
            _lFact = null; //this probably isn't necessary, is it?
        }