Пример #1
0
        public void setHouseStartingLand(House house, LandTerritory land, int numInfantry, int numKnights, int numSiegeEngine)
        {
            List<Infantry> infantry = new List<Infantry>();
            List<Knight> knight = new List<Knight>();
            land.setHouseOccupied(house);
            land.setNumInfantry(numInfantry);
            for (int i = 0; i < numInfantry; i++)
            {
                infantry.Add(new Infantry());
            }
            land.setInfantry(infantry);
            land.setNumKnight(numKnights);
            for (int i = 0; i < numKnights; i++)
            {
                knight.Add(new Knight());
            }
            land.setKnights(knight);

            main.drawUnits.DrawIt(land);
        }