public static void Stop() { Logger.log(31, Category.Engine, Severity.Info, "Engine shutting down"); TickEngine.Dispose(); EventEngine.ProcessEvents(); //Wait for next tick so all events get calculated StateEngine.Dispose(); }
public static void Init() { if (!entitiesInitialized) { Entities.Settings.BuildingSettings.MakeSettings(); Entities.Settings.UnitSettings.MakeSettings(); Entities.Settings.ItemSettings.MakeSettings(); entitiesInitialized = true; } StateEngine.Init(); TickEngine.init(); }