NBloodServerSupervisor/Supervisor/Program.cs

25 lines
523 B
C#
Raw Normal View History

2020-01-23 21:03:54 +01:00
using System;
using System.Threading;
using Model;
namespace Supervisor
{
class Program
{
public static readonly State State = new State();
2020-01-24 12:23:40 +01:00
public static void Main()
2020-01-23 21:03:54 +01:00
{
NBloodServerListener.StartListening();
WebApiListener.StartListening();
2020-01-24 12:23:40 +01:00
PublicServerManager.Start();
2020-01-23 21:03:54 +01:00
PrivateServerManager.Start();
while (true)
{
Thread.Sleep(TimeSpan.FromSeconds(1));
}
}
}
}