SetActiveHunt() публичный статический Метод

public static SetActiveHunt ( Hunt h ) : void
h Hunt
Результат void
Пример #1
0
        private void activeHuntButton_Click(object sender, MouseEventArgs e)
        {
            if (MainForm.mainForm.switch_hunt)
            {
                return;
            }
            Hunt h = getSelectedHunt();

            HuntManager.SetActiveHunt(h);
            setActiveHuntButton.Text    = "Currently Active";
            setActiveHuntButton.Enabled = false;
            HuntManager.SaveHunts();
        }