示例#1
0
        private void PlayEndlessOneButton_Click(object sender, EventArgs e)
        {
            int powerToughness = PlayEndlessOneDialog.InputPowerToughnessFromDialog(mPlayer.PayableMana);

            mPlayer.PlayEndlessOne(powerToughness);
            PlayerDoSomething?.Invoke(this, EventArgs.Empty);
        }
示例#2
0
        private void PlayBouncerButton_Click(object sender, EventArgs e)
        {
            List <int> selectedIndices = SelectEndlessOneDialog.SelectEndlessOneIndicesFromDialog(
                mPlayer.EnemyEndlessOneList,
                false,
                mPlayer.BouncerName + "の対象を選択");

            if (selectedIndices.Count > 0)
            {
                mPlayer.PlayBouncer(selectedIndices[0]);
                PlayerDoSomething?.Invoke(this, EventArgs.Empty);
            }
        }
示例#3
0
 private void EndTurnButton_Click(object sender, EventArgs e)
 {
     mPlayer.EndTurn();
     PlayerDoSomething?.Invoke(this, EventArgs.Empty);
 }
示例#4
0
 private void PlayLandButton_Click(object sender, EventArgs e)
 {
     mPlayer.PlayIsland();
     PlayerDoSomething?.Invoke(this, EventArgs.Empty);
 }