Exemple #1
0
 internal void Play()
 {
     CheckTerminToWall();
     TerminTransform();
     RunEnemis();
     termin.Run(enemis.FindAll(r => Math.Abs(r.X - termin.Real_x) < 100 && (r.Y - termin.Real_y) < 100 && r.Status == EnemiStatus.Playing));
     real_x        = -1 * floor.X;
     real_y        = -1 * floor.Y;
     termin.Real_x = real_x + termin.X;
     termin.Real_y = real_y + termin.Y;
     plane.move(real_x, real_y);
     CheckFinish();
 }