Esempio n. 1
0
        /// <inheritdoc />
        public void Update()
        {
            if (!_player.Object.Spawned || _player.IsDead)
            {
                return;
            }

            ProcessIdleHeal();
            _regionTriggerSystem.CheckWrapzones(_player);
            _mobilitySystem.CalculatePosition(_player);
        }
Esempio n. 2
0
        /// <inheritdoc />
        public virtual void Update()
        {
            if (!_monster.Object.Spawned || _monster.IsDead)
            {
                return;
            }

            if (_monster.Battle.IsFighting)
            {
                ProcessMonsterFight(_monster);
            }
            else
            {
                ProcessMonsterMovements(_monster);
            }

            _mobilitySystem.CalculatePosition(_monster);
        }