示例#1
0
        public Combat()
        {
            GladiatorFactory Arena = new GladiatorFactory();

            FirstGladiator  = Arena.GenerateRandomGladiator();
            SecondGladiator = Arena.GenerateRandomGladiator();
        }
        private void PopulateGladiatorList(int numberToBuild)
        {
            var factory = new GladiatorFactory();

            for (var i = 0; i < numberToBuild; i++)
            {
                Combatants.Add(factory.BuildGladiator());
            }
        }
示例#3
0
 static void Main(string[] args)
 {
     GladiatorFactory trainingField = new GladiatorFactory();
 }