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; }
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; }
public TowerArrow(int x, int y) : base(TowerType.Arrow, x, y) { UpgradeCost = (_Level + 1) * COST_ARROW_TOWER; FindTimer.Start(); }
public TowerIce(int x, int y) : base(TowerType.Ice, x, y) { UpgradeCost = (_Level + 1) * COST_ICE_TOWER; FindTimer.Start(); }
public TowerPoison(int x, int y) : base(TowerType.Poison, x, y) { UpgradeCost = (_Level + 1) * COST_POISON_TOWER; FindTimer.Start(); }