Esempio n. 1
0
        internal static void OnEndGame()
        {
#if DEBUG
            PUtil.LogDebug("Destroying AllMinionsLocationHistory");
#endif
            AllMinionsLocationHistory.DestroyInstance();
        }
Esempio n. 2
0
		internal static void OnStartGame() {
			Options = AIImprovementsOptionsInstance.Create(POptions.ReadSettingsForAssembly<
				AIImprovementsOptions>() ?? new AIImprovementsOptions());
#if DEBUG
			PUtil.LogDebug("Creating AllMinionsLocationHistory");
#endif
			AllMinionsLocationHistory.InitInstance();
		}
 /// <summary>
 /// Destroys the singleton instance.
 /// </summary>
 public static void DestroyInstance()
 {
     Instance = null;
 }
 /// <summary>
 /// Creates the singleton instance of this class.
 /// </summary>
 public static void InitInstance()
 {
     Instance = new AllMinionsLocationHistory();
 }