示例#1
0
        private static void CreateDestoyerLightDefaultCollection(IShipConfiguration light)
        {
            //Add multiple lasers
            for (int i = 0; i < 78; i++)
            {
                light.attackImplements.Add(AttackImplementFactory.CreateAttackImplement(AttackImplementType.Laser));
            }

            //Add multiple missiles
            for (int i = 0; i < 20; i++)
            {
                light.attackImplements.Add(AttackImplementFactory.CreateAttackImplement(AttackImplementType.Missile));
            }

            //Add multiple photonTorpedo
            for (int i = 0; i < 4; i++)
            {
                light.attackImplements.Add(AttackImplementFactory.CreateAttackImplement(AttackImplementType.PhotonTorpedo));
            }

            //Add multiple plasmaCannon
            for (int i = 0; i < 2; i++)
            {
                light.attackImplements.Add(AttackImplementFactory.CreateAttackImplement(AttackImplementType.PlasmaCannon));
            }

            //Add multiple deflectionShield
            for (int i = 0; i < 8; i++)
            {
                light.defendImplements.Add(DefendImplementFactory.CreateDefendImplement(DefendImplementType.DeflectionShield));
            }

            //Add multiple shieldBooster
            for (int i = 0; i < 2; i++)
            {
                light.defendImplements.Add(DefendImplementFactory.CreateDefendImplement(DefendImplementType.ShieldBooster));
            }

            for (int i = 0; i < 2; i++)
            {
                light.upgradeImplements.Add(UpgradeImplementFactory.CreateUpgradeImplement(UpgradeImplementType.MetalicMicrobes));
            }
        }
示例#2
0
        private static void CreateFighterBalancedDefaultCollection(IShipConfiguration balanced)
        {
            //Add multiple lasers
            for (int i = 0; i < 6; i++)
            {
                balanced.attackImplements.Add(AttackImplementFactory.CreateAttackImplement(AttackImplementType.Laser));
            }

            //Add multiple missiles
            for (int i = 0; i < 4; i++)
            {
                balanced.attackImplements.Add(AttackImplementFactory.CreateAttackImplement(AttackImplementType.Missile));
            }

            //Add singles
            balanced.defendImplements.Add(DefendImplementFactory.CreateDefendImplement(DefendImplementType.DeflectionShield));
            balanced.defendImplements.Add(DefendImplementFactory.CreateDefendImplement(DefendImplementType.PolarizedPlating));
            balanced.upgradeImplements.Add(UpgradeImplementFactory.CreateUpgradeImplement(UpgradeImplementType.WarpDrive));
        }
示例#3
0
        private static void CreateDestoyerBalancedDefaultCollection(IShipConfiguration balanced)
        {
            //Add multiple lasers
            for (int i = 0; i < 46; i++)
            {
                balanced.attackImplements.Add(AttackImplementFactory.CreateAttackImplement(AttackImplementType.Laser));
            }

            //Add multiple missiles
            for (int i = 0; i < 20; i++)
            {
                balanced.attackImplements.Add(AttackImplementFactory.CreateAttackImplement(AttackImplementType.Missile));
            }

            //Add multiple photonTorpedo
            for (int i = 0; i < 8; i++)
            {
                balanced.attackImplements.Add(AttackImplementFactory.CreateAttackImplement(AttackImplementType.PhotonTorpedo));
            }

            //Add multiple plasmaCannon
            for (int i = 0; i < 4; i++)
            {
                balanced.attackImplements.Add(AttackImplementFactory.CreateAttackImplement(AttackImplementType.PlasmaCannon));
            }

            //Add multiple deflectionShield
            for (int i = 0; i < 6; i++)
            {
                balanced.defendImplements.Add(DefendImplementFactory.CreateDefendImplement(DefendImplementType.DeflectionShield));
            }

            //Add multiple shieldBooster
            for (int i = 0; i < 3; i++)
            {
                balanced.defendImplements.Add(DefendImplementFactory.CreateDefendImplement(DefendImplementType.ShieldBooster));
            }

            //Add single
            balanced.upgradeImplements.Add(UpgradeImplementFactory.CreateUpgradeImplement(UpgradeImplementType.MineField));
        }