Exemplo n.º 1
0
        public VUnit(VLoadout loadout, UnitType unitType) : base(loadout)
        {
            UnitData = GetUnitData(unitType);

            if (!loadout.Units.Contains(this) && unitType != UnitType.None)
            {
                loadout.Units.Add(this);
            }

            if (unitType == UnitType.None)
            {
                loadout.DeregisterChild(this);
            }

            loadout.CurrentUnit = this;
        }
 public VUnitConfiguration(VLoadout loadout) : base(loadout)
 {
 }
Exemplo n.º 3
0
 public VIncomeManager(VLoadout loadout) : base(loadout)
 {
     Loadout = loadout;
 }
Exemplo n.º 4
0
 public static VUnit New(UnitType type, VLoadout loadout)
 {
     return((VUnit)BizoCreator.Create(typeof(VUnit), "Unit", loadout, type));
 }
 public VGemCollection(VLoadout loadout) : base(loadout)
 {
     Loadout = loadout;
 }
 public VLoadoutSouls(VLoadout loadout) : base(loadout)
 {
     Loadout = loadout ?? throw new ArgumentException(nameof(loadout));
 }
 public VChallengePointCollection(VLoadout loadout) : base(loadout)
 {
     Loadout = loadout;
 }
 public VStats(VLoadout loadout)
 {
     Loadout = loadout;
 }
Exemplo n.º 9
0
 public VPerkCollection(VLoadout loadout) : base(loadout)
 {
     Loadout = loadout ?? throw new ArgumentException(nameof(loadout));
 }
Exemplo n.º 10
0
 public VModsCollection(VLoadout loadout) : base(loadout)
 {
     Loadout = loadout;
 }