Exemplo n.º 1
0
        public PointIcon Create(PointType pointType)
        {
            if (pointTypeIcons.ContainsKey(pointType))
            {
                return(pointTypeIcons[pointType]);
            }

            var pointIcon = new PointIcon(pointType, null);

            pointTypeIcons.Add(pointType, pointIcon);

            return(pointIcon);
        }
Exemplo n.º 2
0
 public Point(int x, int y, PointIcon pointIcon)
 {
     this.x         = x;
     this.y         = y;
     this.pointIcon = pointIcon;
 }