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