コード例 #1
0
ファイル: Map.cs プロジェクト: kenlacoste843/ProjectXV3
 /// <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
ファイル: Map.cs プロジェクト: kenlacoste843/ProjectXV3
 /// <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));
 }