Esempio n. 1
0
        public battle(string sceneName, string playerName)
        {
            InitializeComponent();

            Combat.setForm(this);


            BC = new BattleControl(this, sceneName, playerName);
            findTeams();

            setStats();
        }
Esempio n. 2
0
        public void startAITurn(BattleControl Battle)
        {
            //Console.WriteLine("starting AI turn.");
            BC = Battle;

            targets = new List <Character>();

            bool skillFound = false;

            do
            {
                skillFound = findSkill();
            } while (!skillFound);

            BC.findTurn();
        }
Esempio n. 3
0
        public debub(BattleControl battleC)
        {
            BC = battleC;

            InitializeComponent();
        }