HuntCount() public static method

public static HuntCount ( ) : int
return int
Esempio n. 1
0
        private void HuntList_AttemptDeleteItem(object sender, EventArgs e)
        {
            if (HuntManager.HuntCount() <= 1)
            {
                return;
            }
            Hunt h = getSelectedHunt();

            HuntManager.DeleteHunt(h);
            HuntManager.SaveHunts();
            refreshHunts(true);
        }