Aka_s_Vayne.Logic.AJSProvider.IsNotIntoTraps C# (CSharp) Method

IsNotIntoTraps() static private method

static private IsNotIntoTraps ( System.Vector3 position ) : bool
position System.Vector3
return bool
        static bool IsNotIntoTraps(Vector3 position)
        {
            var tarpsnear = Traps.EnemyTraps.FindAll(t => t.Distance(position) <= 5);

            if (tarpsnear != null)
            {
                return false;
            }
            return true;
        }