private void _OnWaitEntity(Guid id)
 {
     if (_Contestants.Any(contestant => contestant == id))
     {
         _Gate.Pass(_Owner.GetPosition(), id);
     }
 }
 private TICKRESULT _Pass(float arg)
 {
     if (_Ids.Count > 0)
     {
         var id = _Ids.Dequeue();
         _Gate.Pass(_Player.Position, id);
         return(TICKRESULT.SUCCESS);
     }
     return(TICKRESULT.FAILURE);
 }
        private TICKRESULT _Pass(float arg)
        {
            bool success = false;

            success = _Ids.Count > 0;
            while (_Ids.Count > 0)
            {
                var id = _Ids.Dequeue();
                _Gate.Pass(_Owner.GetPosition(), id);
            }
            if (success)
            {
                return(TICKRESULT.SUCCESS);
            }
            return(TICKRESULT.FAILURE);
        }
        private TICKRESULT _Pass(float arg)
        {
            _Gate.Pass(_Owner.GetPosition(), _Types);

            return(TICKRESULT.SUCCESS);
        }