Exemplo n.º 1
0
 /// <summary>
 /// Provides access to the Entoarox Framework's <see cref="IConditionHelper"/> API.
 /// </summary>
 /// <param name="helper">The <see cref="IModHelper"/> of the mod calling this method</param>
 /// <returns></returns>
 public static IConditionHelper Conditions(this IModHelper helper)
 {
     if (_ConditionHelper == null)
     {
         _ConditionHelper = new ConditionHelper();
     }
     return(_ConditionHelper);
 }
 /// <summary>Provides access to the Entoarox Framework's <see cref="IConditionHelper" /> API.</summary>
 /// <param name="helper">The <see cref="IModHelper" /> of the mod calling this method</param>
 public static IConditionHelper Conditions(this IModHelper helper)
 {
     if (IModHelperExtensions.ConditionHelper == null)
     {
         IModHelperExtensions.ConditionHelper = new ConditionHelper();
     }
     return(IModHelperExtensions.ConditionHelper);
 }