Engine.Objects.Person.IsObstructedAt C# (CSharp) Method

IsObstructedAt() public method

public IsObstructedAt ( Vector2f pos ) : bool
pos Vector2f
return bool
        public bool IsObstructedAt(Vector2f pos)
        {
            return (!IgnoreTiles && MapEngineHandler.CheckTileObstruction(ref pos, this)) ||
                (!IgnorePersons && PersonManager.CheckPersonObstructions(ref pos, this)) ||
                (MapEngineHandler.CheckLineObstruction(ref pos, this));
        }