Example #1
0
        private void pointsEvent()
        {
            PoinT colide = points.pointInRange(guy);

            if (colide != null)
            {
                guy.sizePlus();
                Can.Children.Remove(colide.rect);
                if (points.points.Count < 1)
                {
                    points.newPoints();
                    initPoints();
                }
            }
            points.redraw();
        }