Exemple #1
0
        private void Bets(ref string s)
        {
            //RosterLib.Utility.Announce( "Doing Bets");
            if (_kenny == null)
            {
                _kenny = new NFLGambler(750.00D);
            }
            var betList = new ArrayList();

            //  pass it a game
            _kenny.ConsiderGame(_game, ref betList);
            if (betList.Count > 0)
            {
                //  get the list as formatted HTML
                s += _kenny.RenderBets(betList, false, false);
            }
            //RosterLib.Utility.Announce( "Finished Bets");
        }