Beispiel #1
0
        private Team PickNextArea_TeamSetup_DesertGroupings(int numFighterForMazeFlag = 1, string name1 = null, string name2 = null)
        {
            TestHumanFighter fighter1 = (TestHumanFighter)TestFighterFactory.GetFighter(TestFighterType.TestHuman, 1, name1);
            TestHumanFighter fighter2 = (TestHumanFighter)TestFighterFactory.GetFighter(TestFighterType.TestHuman, 1, name2);

            switch (numFighterForMazeFlag)
            {
            case 1:
                fighter1.AddPersonalityFlag(PersonalityFlag.MazeSolver);
                break;

            case 2:
                fighter2.AddPersonalityFlag(PersonalityFlag.MazeSolver);
                break;
            }

            return(new TestTeam(fighter1, fighter2));
        }