Exemple #1
0
        public battle(string sceneName, string playerName)
        {
            InitializeComponent();

            Combat.setForm(this);


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

            setStats();
        }
Exemple #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();
        }
Exemple #3
0
        public debub(BattleControl battleC)
        {
            BC = battleC;

            InitializeComponent();
        }