示例#1
0
        public void Main()
        {
            Fight fight = new Fight("Forest1");

            fight.Team1.Add(new Vesperz());
            fight.Team1.Add(new Keleonix());
            fight.Team2.Add(new Haankhes());

            fight.InitializeFight();

            fight.Team1[0].X = 2;
            fight.Team1[1].X = 1;
            fight.DebugRefreshPositions();

            Debug.Log(fight);

            fight.Team1[1].SupportCharacter(fight, fight.Team1[0]);

            Debug.Log(fight);
        }
示例#2
0
        static void Main(string[] args)
        {
            Fight fight = new Fight("Castle1");

            fight.Team1.Add(new Vesperz());
            fight.Team1.Add(new Keleonix());
            fight.Team2.Add(new Haankhes());

            fight.InitializeFight();

            fight.Team1[0].X = 2;
            fight.Team1[1].X = 1;
            fight.DebugRefreshPositions();

            Console.WriteLine(fight);

            fight.Team1[1].SupportCharacter(fight, fight.Team1[0]);

            Console.WriteLine(fight);

            Console.ReadLine();
        }