예제 #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);
        }
예제 #2
0
 public Point(int x, int y, PointIcon pointIcon)
 {
     this.x         = x;
     this.y         = y;
     this.pointIcon = pointIcon;
 }