RandXAndY

<html> <head> <meta http-equiv="Content-Language" content="zh-cn"> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>int map</title> </head> <body> <p><font color="#0000FF"> int</font><font color="darkorange"> </font> <font color="#00FF00"> map</font>.<font color="#FF8C00">RandXAndY</font>(<font color="#0000FF">int</font> 地图号)</p> <p><strong>函数功能:</strong></p> <p><font color="#008000">通过一个地图号来获取一组有效的X和Y坐标<br> PS:需通过getX或getY进行转换</font></p> <p><strong>参数说明:</strong></p> <table border="1" width="643" id="table1"> <tr> <td width="154">地图号</td> <td width="152">[整型</td> <td width="315">目标的地图号</td> </tr> </table> <p><strong>返回值:</strong></p> <p>一个整型数值</p> <p><strong>使用例子:</strong></p> <p><font color="#008000">--获取2000地图上一个有效的X和Y的坐标<br> </font>xandy = <font color="#00FF00"> map</font>.<font color="#FF8C00">RandXAndY</font>(2000)<font color="#0000FF"><br>  </font></p> <p><strong>参数说明:</strong></p> </body> </html>