/// <summary> /// Called on present. /// </summary> private static void OnRender(EntropyEventArgs args) { SpellTracker.Initialize(); ExpTracker.Initialize(); TowerRangeTracker.Initialize(); AttackRangeTracker.Initialize(); }
/// <summary> /// Called on present. /// </summary> private static void OnPresent() { SpellTracker.Initialize(); ExpTracker.Initialize(); TowerRangeTracker.Initialize(); AttackRangeTracker.Initialize(); }
/// <summary> /// Called when the game loads itself. /// </summary> public static void OnLoad() { Drawing.OnPreReset += args => { Vars.DisplayTextFont.OnLostDevice(); }; Drawing.OnPostReset += args => { Vars.DisplayTextFont.OnResetDevice(); }; /// <summary> /// Initialize the menus. /// </summary> Menus.Initialize(); /// <summary> /// Initialize the SpellTracker. /// </summary> SpellTracker.Initialize(); /// <summary> /// Initialize the ExpTracker. /// </summary> ExpTracker.Initialize(); }