public PointIcon Create(PointType pointType) { if (pointTypeIcons.ContainsKey(pointType)) { return(pointTypeIcons[pointType]); } var pointIcon = new PointIcon(pointType, null); pointTypeIcons.Add(pointType, pointIcon); return(pointIcon); }
public Point(int x, int y, PointIcon pointIcon) { this.x = x; this.y = y; this.pointIcon = pointIcon; }