Exemplo n.º 1
0
 private void GameTimer_Elapsed(object sender, ElapsedEventArgs e)
 {
     Console.Title = DateTime.Now.ToLongTimeString();
     if (CheckCollisionFoodWithWorm())
     {
         w.Increase(w.body[0]);
         f.Generate();
         cnt++;
     }
 }