public static MasterVoteServerLogic GetServerLogic() { if (instance == null) { instance = new MasterVoteServerLogic(); } return(instance); }
public static void Main() { // startNewGame(); // return; LocalThreadManager.Start().Process(); MongoServerLog.AddServerLog("Master.Start", "1", "1"); var logic = MasterVoteServerLogic.GetServerLogic(); while (true) { Console.WriteLine("Press enter to die"); Console.ReadLine(); logic.gameTick(null); } }