AStarCollisionMap.Collision.CollisionMap.IndexExists C# (CSharp) Method

IndexExists() public method

public IndexExists ( Point p ) : System.Boolean
p Point
return System.Boolean
        public Boolean IndexExists(Point p)
        {
            if (p.X < 0 || p.X >= mapWidth) return false;
            if (p.Y < 0 || p.Y >= mapHeight) return false;
            return true;
        }

Same methods

CollisionMap::IndexExists ( int index ) : System.Boolean