/// <summary> /// Gets the area info for the specified coordinates. /// </summary> /// <returns>The area info.</returns> /// <param name="inTileX">In tile x.</param> /// <param name="inTileY">In tile y.</param> public AreaInfoEntry GetAreaInfo(uint inTileX, uint inTileY) { return(AreaInfo.GetAreaInfo(inTileX, inTileY)); }
/// <summary> /// Determines whether the tile at the specified coordinates is populated with terrain data or not. /// </summary> /// <returns><c>true</c> if the tile is populated; otherwise, <c>false</c>.</returns> /// <param name="inTileX">0-based x coordinate of the tile.</param> /// <param name="inTileY">0-based y coordinate of the tile.</param> public bool IsTilePopulated(uint inTileX, uint inTileY) { var infoEntry = AreaInfo.GetAreaInfo(inTileX, inTileY); return(infoEntry.Flags.HasFlag(AreaInfoFlags.HasTerrainData)); }