Exemple #1
0
        private void Update_ToFindingState()
        {
            Finding = true;

            FindTimer.Start();
            FindPercent.Start();

            MatchCaseCheckBox.Enabled = false;
            FindTextBox.Enabled       = false;
            FindTextRadioBox.Enabled  = false;
            FindHexBox.Enabled        = false;
            FindHexRadioBox.Enabled   = false;
            FindOkButton.Enabled      = false;
        }
Exemple #2
0
        private void Update_ToNormalState()
        {
            Finding = false;

            FindTimer.Stop();
            FindPercent.Stop();

            FindingLabel.Text = "";
            PercentLabel.Text = "";

            MatchCaseCheckBox.Enabled = true;
            FindTextBox.Enabled       = true;
            FindTextRadioBox.Enabled  = true;
            FindHexBox.Enabled        = true;
            FindHexRadioBox.Enabled   = true;
            FindOkButton.Enabled      = true;
        }
Exemple #3
0
 public TowerArrow(int x, int y)
     : base(TowerType.Arrow, x, y)
 {
     UpgradeCost = (_Level + 1) * COST_ARROW_TOWER;
     FindTimer.Start();
 }
Exemple #4
0
 public TowerIce(int x, int y)
     : base(TowerType.Ice, x, y)
 {
     UpgradeCost = (_Level + 1) * COST_ICE_TOWER;
     FindTimer.Start();
 }
Exemple #5
0
 public TowerPoison(int x, int y)
     : base(TowerType.Poison, x, y)
 {
     UpgradeCost = (_Level + 1) * COST_POISON_TOWER;
     FindTimer.Start();
 }