Example #1
0
 private void GameLoop()
 {
     loopTimer.MeasureTime();
     player.Loop();
     enemyManager.Loop();
     projectileManager.Loop(player, enemyManager.enemyList);
     if (player.IsGameOver())
     {
         Navigation.PushAsync(new GameOverPage());
     }
     timeLogger.CalculateMeansAndMax();
 }