Ejemplo n.º 1
0
        public BattleControl(battle parentForm, string sceneName, string playerName)
        {
            mainForm = parentForm;

            loadPlayer(playerName);
            loadScene(sceneName);
        }
Ejemplo n.º 2
0
        public targetDialog(Skill sk, battle mainForm)
        {
            skill  = sk;
            parent = mainForm;

            InitializeComponent();

            findTargets();
            setTargettingMode();
        }
Ejemplo n.º 3
0
        public targetDialog(List <string> choices, battle mainForm)
        {
            //use as a character select dialog at beginning of battle
            parent = mainForm;

            InitializeComponent();

            Text           = "Character Selection:";
            charSelectMode = true;
            foreach (string c in choices)
            {
                targetList.Items.Add(c);
            }
        }
Ejemplo n.º 4
0
 static public void setForm(battle parentForm){
     battleForm = parentForm;
 }