SetActiveHunt() public static method

public static SetActiveHunt ( Hunt h ) : void
h Hunt
return void
Ejemplo n.º 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();
        }