Engines/FlatRedBallXNA/FlatRedBall/AI/LineOfSight/VisibilityGrid.cs
/// <summary>
/// Returns whether a given world coordinate is relealed.
/// </summary>
/// <param name="worldX">The world x coordinate.</param>
/// <param name="worldY">The world y coordinate.</param>
/// <returns>Whether the world coordinate is revealed or not.</returns>
Returns whether a given world coordinate is relealed.
Returns whether a given world coordinate is relealed .
public bool IsRevealedWorld(float worldX, float worldY)
        {
            int xIndex;
            int yIndex;
            WorldToIndex(worldX, worldY, out xIndex, out yIndex);
            return mRevealedTiles[xIndex][yIndex] == 1;
        }
public bool IsRevealedWorld ( float worldX , float worldY ) { int xIndex ; int yIndex ; WorldToIndex ( worldX , worldY , out xIndex , out yIndex ) ; return mRevealedTiles [ xIndex ] [ yIndex ] == 1 ; }
Returns whether a given world coordinate is relealed.
Returns whether a given world coordinate is relealed .
Whether the world coordinate is revealed or not.
Whether the world coordinate is revealed or not .
worldX
float
The world x coordinate.
The world x coordinate .
worldY
float
The world y coordinate.
The world y coordinate .