Program.cs 464 B

12345678910111213141516171819202122232425
  1. using KYFramework;
  2. using SimulationServer;
  3. internal class Program
  4. {
  5. private static void Main(string[] args)
  6. {
  7. Init.Start();
  8. while (true)
  9. {
  10. Thread.Sleep(1);
  11. try
  12. {
  13. Init.Update();
  14. Init.LateUpdate();
  15. }
  16. catch (Exception e)
  17. {
  18. Init.OnApplicationQuit();
  19. Log.Error(e);
  20. }
  21. }
  22. }
  23. }