Beispiel #1
0
 private void Player3_Click(object sender, EventArgs e)
 {
     if (BC.inBattle && player.Count > 2)
     {//battle is started and there should be a character here
         CharacterForm nForm = new CharacterForm(player[2]);
         nForm.Show();
     }
     if (!BC.inBattle)
     {
         targetDialog nForm = new targetDialog(partyCharacters, this);
         nForm.Show();
     }
 }
Beispiel #2
0
        private void NPC3_Click(object sender, EventArgs e)
        {
            CharacterForm nForm = new CharacterForm(enemy[2]);

            nForm.Show();
        }
Beispiel #3
0
        private void button2_Click(object sender, EventArgs e)
        {
            CharacterForm nForm = new CharacterForm(enemy[0]);

            nForm.Show();
        }
Beispiel #4
0
        private void button1_Click_1(object sender, EventArgs e)
        {
            CharacterForm nForm = new CharacterForm(player[0]);

            nForm.Show();
        }