public ManagerPlanet(Painter paint) { delPlanets = new List<BasePlanet>(); this.paint = paint; planets = new HashSet<BasePlanet>(); ellipses = new List<Ellipse>(); delEllipses = new List<Ellipse>(); paint.setEllipseLists(ref ellipses, ref delEllipses); }