getX

<html> <head> <meta http-equiv="Content-Language" content="zh-cn"> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>bool obj</title> </head> <body> <p><font color="#0000FF"> int</font><font color="darkorange"> </font> <font color="#00FF00"> obj</font>.<font color="#FF8C00">getX</font>(<font color="blue">int</font> 索引)</p> <p><strong>函数功能:</strong></p> <p><font color="#006400">通过对象索引获取对象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>返回一个X坐标</p> <p><strong>使用例子:</strong></p> <p><font color="#008000">--获取一个地图X坐标</font><br> x = <font color="#00FF00"> obj</font>.<font color="#FF8C00">getX</font>(objindex)<font color="#0000FF"><br>  </font></p> <p><strong>参数说明:</strong></p> </body> </html>