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