public PointIcon GetPointIcon(PointType pointType)
        {
            if (icons.ContainsKey(pointType))
            {
                return(icons[pointType]);
            }

            var icon = new PointIcon(pointType, null);

            icons.Add(pointType, icon);
            return(icon);
        }
Пример #2
0
 public Point(int x, int y, PointIcon icon)
 {
     this.x    = x;
     this.y    = y;
     pointIcon = icon;
 }