Program.cs 462 B

123456789101112131415161718192021222324252627282930313233343536
  1. using System;
  2. using System.Threading;
  3. using ET.Server;
  4. namespace ET
  5. {
  6. internal static class Program
  7. {
  8. private static void Main(string[] args)
  9. {
  10. try
  11. {
  12. Entry.Start();
  13. while (true)
  14. {
  15. try
  16. {
  17. Thread.Sleep(1);
  18. Game.Update();
  19. Game.LateUpdate();
  20. Game.FrameFinish();
  21. }
  22. catch (Exception e)
  23. {
  24. Log.Error(e);
  25. }
  26. }
  27. }
  28. catch (Exception e)
  29. {
  30. Log.Error(e);
  31. }
  32. }
  33. }
  34. }