示例#1
0
 /// <summary>
 ///     Called on present.
 /// </summary>
 private static void OnRender(EntropyEventArgs args)
 {
     SpellTracker.Initialize();
     ExpTracker.Initialize();
     TowerRangeTracker.Initialize();
     AttackRangeTracker.Initialize();
 }
示例#2
0
 /// <summary>
 ///     Called on present.
 /// </summary>
 private static void OnPresent()
 {
     SpellTracker.Initialize();
     ExpTracker.Initialize();
     TowerRangeTracker.Initialize();
     AttackRangeTracker.Initialize();
 }
示例#3
0
        /// <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();
        }