Esempio n. 1
0
        /// <summary>
        /// Provisional Damage table location. Check out program.cs for where this is initialized.
        /// </summary>
        public static void init()
        {
            EnergyTable  = new BindingList <DamageTableTN>();
            PlasmaTable  = new BindingList <DamageTableTN>();
            KineticTable = new BindingList <DamageTableTN>();
            MissileTable = new BindingList <DamageTableTN>();
            for (int loop = 0; loop < 210; loop++)
            {
                DamageTableTN EV = new DamageTableTN(DamageTypeTN.Beam, (ushort)(loop + 1));
                DamageTableTN PV = new DamageTableTN(DamageTypeTN.Plasma, (ushort)(loop + 1));
                EnergyTable.Add(EV);
                PlasmaTable.Add(PV);
            }

            for (int loop = 0; loop < 80; loop++)
            {
                DamageTableTN KV = new DamageTableTN(DamageTypeTN.Kinetic, (ushort)(loop + 1));
                KineticTable.Add(KV);
            }

            for (int loop = 0; loop < 3000; loop++)
            {
                DamageTableTN MV = new DamageTableTN(DamageTypeTN.Missile, (ushort)(loop + 1));
                MissileTable.Add(MV);
            }
        }
Esempio n. 2
0
        /// <summary>
        /// Provisional Damage table location. Check out program.cs for where this is initialized.
        /// </summary>
        public static void init()
        {
            EnergyTable = new BindingList<DamageTableTN>();
            PlasmaTable = new BindingList<DamageTableTN>();
            KineticTable = new BindingList<DamageTableTN>();
            MissileTable = new BindingList<DamageTableTN>();
            for (int loop = 0; loop < 210; loop++)
            {
                DamageTableTN EV = new DamageTableTN(DamageTypeTN.Beam, (ushort)(loop + 1));
                DamageTableTN PV = new DamageTableTN(DamageTypeTN.Plasma, (ushort)(loop + 1));
                EnergyTable.Add(EV);
                PlasmaTable.Add(PV);
            }

            for (int loop = 0; loop < 80; loop++)
            {
                DamageTableTN KV = new DamageTableTN(DamageTypeTN.Kinetic, (ushort)(loop + 1));
                KineticTable.Add(KV);
            }

            for (int loop = 0; loop < 3000; loop++)
            {
                DamageTableTN MV = new DamageTableTN(DamageTypeTN.Missile, (ushort)(loop + 1));
                MissileTable.Add(MV);
            }
        }