示例#1
0
        //private DDServiceNavigationProvider serviceProvider = new DDServiceNavigationProvider();
        public override void Pulse()
        {
            if (Constants.SelectedDungeon == null)
            {
                return;
            }

            if (Constants.InDeepDungeon)
            {
                if (Constants.IgnoreEntity == null)
                {
                    Constants.IgnoreEntity = Constants.SelectedDungeon.GetIgnoreEntity(Constants.BaseIgnoreEntity);
                }
                //force a pulse on the director if we are hitting "start" inside of the dungeon
                if (DirectorManager.ActiveDirector == null)
                {
                    DirectorManager.Update();
                }
                DDTargetingProvider.Instance.Pulse();
            }

            if (_tasks != null)
            {
                _tasks.Tick();
            }
        }
示例#2
0
        //private DDServiceNavigationProvider serviceProvider = new DDServiceNavigationProvider();
        public override void Pulse()
        {
            if (Constants.InDeepDungeon)
            {
                //force a pulse on the director if we are hitting "start" inside of the dungeon
                if (DirectorManager.ActiveDirector == null)
                {
                    DirectorManager.Update();
                }
                DDTargetingProvider.Instance.Pulse();
            }

            if (_tasks != null)
            {
                _tasks.Tick();
            }
        }