Exemple #1
0
        private static void Game_OnUpdate(EventArgs args)
        {
            if (_Player.IsDead)
            {
                return;
            }

            DodgeManager.HandleDodging();
        }
Exemple #2
0
        private static void Game_OnUpdate(EventArgs args)
        {
            if (_Player.IsDead)
            {
                return;
            }

            /*foreach(SpellInfo inf in SpellDatabase.activeSpells)
             * {
             *  if(inf.missile != null)
             *  {
             *      if(inf.missilePosTest.Distance(inf.missile) <= 50)
             *      {
             *          inf.missilePosTest = inf.missile.Position;
             *      }
             *      else
             *      {
             *          Chat.Print(inf.oldTarget.Name + "|" + inf.missile.Target.Name);
             *      }
             *  }
             * }*/

            DodgeManager.HandleDodging();
        }
Exemple #3
0
 private static void Main(string[] args)
 {
     DodgeManager.Initialize();
     Loading.OnLoadingComplete += Loading_OnLoadingComplete;
     Loading.OnLoadingComplete += MenuHandler.Loading_OnLoadingComplete;
 }