private void DrawSYS(PSController PS) { PS.planetsList.ForEach(x => x.Draw(CreateGraphics())); PS.SpaceShips.ForEach(x => x.DrawSpaceShip(CreateGraphics())); }
public Form1() { InitializeComponent(); startStop.Text = "Start"; planetSystem = new PSController((double)this.Width / 3, (double)this.Height / 2); }