mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
29 lines
620 B
C#
29 lines
620 B
C#
using System;
|
|
using System.Threading;
|
|
|
|
namespace ET
|
|
{
|
|
public static class Program
|
|
{
|
|
public static void Main()
|
|
{
|
|
Entry.Init();
|
|
Init init = new();
|
|
init.Start();
|
|
while (true)
|
|
{
|
|
Thread.Sleep(1);
|
|
try
|
|
{
|
|
init.Update();
|
|
init.LateUpdate();
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
Log.Error(e);
|
|
}
|
|
}
|
|
// ReSharper disable once FunctionNeverReturns
|
|
}
|
|
}
|
|
} |