예제 #1
0
 public World(SizeF sz)
 {
     Size = sz;
     QuadrocoptersList = new List <Quadrocopter>();
     GPSMechanic       = new GPSMechanic("Пупкин Василий");
     AirscrewMechanic  = new AirscrewMechanic("Петр Петрович");
     LightsMechanic    = new LightsMechanic("Иван Иванович");
     Threads           = new List <Thread>();
 }
예제 #2
0
 private void DrawMechanics(Graphics g, ScreenConverter sc)
 {
     GPSMechanic.Draw(g, sc);
     AirscrewMechanic.Draw(g, sc);
     LightsMechanic.Draw(g, sc);
 }