示例#1
0
        private void AddSite(PointF p, uint color, int index)
        {
            //throw new NotImplementedException("This was modified, might not work");
            System.Random random = new System.Random();
            float         weight = (float)random.NextDouble() * 100;
            Site          site   = Site.Create(p, index, weight, color);

            _sites.Push(site);
            _sitesIndexedByLocation[p] = site;
        }