コード例 #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();
     }
 }
コード例 #2
0
        public void useSkill(Character c, int s)
        {
            targetDialog targetting = new targetDialog(c.skills[s], mainForm);

            targetting.Show();
        }