protected override void OnEntityAdded(Circle entity)
 {
     CircleAdded?.Invoke(this, new CircleEventArgs(entity));
 }
Example #2
0
 public static void AddCircle(Circle circle)
 {
     ALL_ELEMENTS.Add(circle);
     CircleAdded?.Invoke(string.Format("xPos: {0}, yPos: {1}", circle.GetXPos(), circle.GetYPos()));
 }