getX

<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">getX</font>(<font color="#0000FF">int</font> 坐标XY)</p> <p><strong>函数功能:</strong></p> <p><font color="#008000">通过RandXAndY获取到的坐标XY来获取X坐标</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">--通过坐标XY来获取X坐标|<br> </font>xandy = <font color="#00FF00"> map</font>.<font color="#FF8C00">RandXAndY</font>(2000)<font color="#008000"><br> </font>fname = <font color="#00FF00"> map</font>.<font color="#FF8C00">getX</font>(xandy)</p> <p><strong>参数说明:</strong></p> </body> </html>