예제 #1
0
 /// <summary>
 /// Checks if a coordinate is valid. [Calls the dmap]
 /// </summary>
 /// <param name="x">The x coordinate.</param>
 /// <param name="y">The y coordinate.</param>
 /// <returns>Returns true if the coodinate is valid.</returns>
 public bool ValidCoord(int x, int y)
 {
     return(DMapHandler.ValidCoord(mapid, x, y));
 }
예제 #2
0
 /// <summary>
 /// Checks if a coordinate is valid. [Calls the dmap]
 /// </summary>
 /// <param name="x">The x coordinate.</param>
 /// <param name="y">The y coordinate.</param>
 /// <returns>Returns true if the coodinate is valid.</returns>
 public bool ValidCoord(ushort x, ushort y)
 {
     return(DMapHandler.ValidCoord(mapid, x, y));
 }