Exemplo n.º 1
0
        static void Main(string[] args)
        {
            CreatureFromFileReader creatureTable = new CreatureFromFileReader();

            creatureTable.CreateCreatureList();
            TryLINQ tryLINQ = new TryLINQ();

            tryLINQ.ShowCreaturesNames();
            tryLINQ.MaxArmorClass();
            tryLINQ.SortByClaws();
            tryLINQ.CreatureSearch();
            tryLINQ.ShowCreatureDemage();
            tryLINQ.MaxDemage();
            tryLINQ.AverageDemage();
            tryLINQ.SortByLevelAndHitpoints();
            tryLINQ.SumHPOf1LvlCreatures();
            Console.ReadLine();
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            CreatureFromFileReader creatureTable = new CreatureFromFileReader();

            creatureTable.CreateCreatureList();
            //TryLINQ tryLINQ = new TryLINQ();
            //tryLINQ.ShowCreaturesNames();
            //tryLINQ.MaxArmorClass();
            //tryLINQ.SortByClaws();
            //tryLINQ.CreatureSearch();
            //tryLINQ.ShowCreatureDemage();
            //tryLINQ.MaxDemage();
            //tryLINQ.AverageDemage();
            //tryLINQ.SortByLevelAndHitpoints();
            //tryLINQ.SumHPOf1LvlCreatures();
            FightClub club = new FightClub();

            //club.RandomFight();
            club.ChoosenCreturesFight();
            Console.ReadLine();
        }