예제 #1
0
        public override List <Soldier> CreateSquad()
        {
            List <Soldier> soldiers = new List <Soldier>();

            for (int i = 0; i < 8; i++)
            {
                Soldier soldier = new Rifleman("Шутце", $"{DBManager.GermanNames[new Random().Next(0, 14)]} {DBManager.GermanLastNames[new Random().Next(0, 14)]}", "Винтовка Маузера");
                soldiers.Add(soldier);
            }
            soldiers.Add(new MashineGunner("Ефрейтор", $"{ DBManager.GermanNames[new Random().Next(0, 14)]} {DBManager.GermanLastNames[new Random().Next(0, 14)]}", "MG-34"));
            soldiers.Add(new SquadLeader("Унтер-офицер", $"{ DBManager.GermanNames[new Random().Next(0, 14)] } { DBManager.GermanLastNames[new Random().Next(0, 14)]}", "MP-40"));

            return(soldiers);
        }
예제 #2
0
        public override List <Soldier> CreateSquad()
        {
            List <Soldier> soldiers = new List <Soldier>();

            for (int i = 0; i < 8; i++)
            {
                Soldier soldier = new Rifleman("Рядовой", $"{DBManager.USSRNames[new Random().Next(0, 14)]} {DBManager.USSRLastNames[new Random().Next(0, 14)]}", "Винтовка Мосина");
                soldiers.Add(soldier);
            }
            soldiers.Add(new MashineGunner("Ефрейтор", $"{ DBManager.USSRNames[new Random().Next(0, 14)]} {DBManager.USSRLastNames[new Random().Next(0, 14)]}", "ДП-27"));
            soldiers.Add(new SquadLeader("Младший сержант", $"{ DBManager.USSRNames[new Random().Next(0, 14)] } { DBManager.USSRLastNames[new Random().Next(0, 14)]}", "ППД-40"));

            return(soldiers);
        }