⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classplayertypeinfo.html

📁 仿真人工智能是指用人工的方法和技术
💻 HTML
📖 第 1 页 / 共 3 页
字号:
This method sets the player type associated with this class. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>type</em>&nbsp;</td><td>new player type </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>bool indicating whether update was succesfull </dl><p>Definition at line <a class="el" href="Formations_8C-source.html#l00117">117</a> of file <a class="el" href="Formations_8C-source.html">Formations.C</a>.<p>References <a class="el" href="SoccerTypes_8h-source.html#l00316">PlayerT</a>, and <a class="el" href="Formations_8h-source.html#l00090">playerType</a>.    </td>  </tr></table><a name="a2" doxytag="PlayerTypeInfo::setValues"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> bool PlayerTypeInfo::setValues </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="SoccerTypes_8h.html#a248">PlayerT</a>&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>pt</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>double&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>ax</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>double&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>ay</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>double&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>minx</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>double&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>maxx</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>bool&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>bb</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This method receives the values for all the member variables as arguments and sets these member variables. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>pt</em>&nbsp;</td><td>PlayerType corresponding to the player type of this class </td></tr><tr><td valign=top><em>ax</em>&nbsp;</td><td>x attraction to the ball </td></tr><tr><td valign=top><em>ay</em>&nbsp;</td><td>y attraction to the ball </td></tr><tr><td valign=top><em>minx</em>&nbsp;</td><td>minimal x coordinate for this player type </td></tr><tr><td valign=top><em>maxx</em>&nbsp;</td><td>maximal x coordinate for this player type </td></tr><tr><td valign=top><em>bb</em>&nbsp;</td><td>boolean indicating whether this player type should always stay behind the ball. </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>bool indicating whether update was successful. </dl><p>Definition at line <a class="el" href="Formations_8C-source.html#l00090">90</a> of file <a class="el" href="Formations_8C-source.html">Formations.C</a>.<p>References <a class="el" href="Formations_8h-source.html#l00095">bBehindBall</a>, <a class="el" href="Formations_8h-source.html#l00091">dAttrX</a>, <a class="el" href="Formations_8h-source.html#l00092">dAttrY</a>, <a class="el" href="Formations_8h-source.html#l00094">dMaxX</a>, <a class="el" href="Formations_8h-source.html#l00093">dMinX</a>, <a class="el" href="SoccerTypes_8h-source.html#l00316">PlayerT</a>, and <a class="el" href="Formations_8h-source.html#l00090">playerType</a>.<p>Referenced by <a class="el" href="Formations_8C-source.html#l00059">PlayerTypeInfo</a>().    </td>  </tr></table><a name="a3" doxytag="PlayerTypeInfo::show"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void PlayerTypeInfo::show </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">ostream &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>os</em> = cout          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This method print the different member values separated by comma's to the specified output stream. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>os</em>&nbsp;</td><td>output stream to which member values are printed </td></tr></table></dl><p>Definition at line <a class="el" href="Formations_8C-source.html#l00106">106</a> of file <a class="el" href="Formations_8C-source.html">Formations.C</a>.<p>References <a class="el" href="Formations_8h-source.html#l00095">bBehindBall</a>, <a class="el" href="Formations_8h-source.html#l00091">dAttrX</a>, <a class="el" href="Formations_8h-source.html#l00092">dAttrY</a>, <a class="el" href="Formations_8h-source.html#l00094">dMaxX</a>, <a class="el" href="Formations_8h-source.html#l00093">dMinX</a>, and <a class="el" href="Formations_8h-source.html#l00090">playerType</a>.    </td>  </tr></table><hr><h2>Member Data Documentation</h2><a name="o5" doxytag="PlayerTypeInfo::bBehindBall"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> bool PlayerTypeInfo::bBehindBall<code> [private]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>should player always stay behind the ball <p>Definition at line <a class="el" href="Formations_8h-source.html#l00095">95</a> of file <a class="el" href="Formations_8h-source.html">Formations.h</a>.<p>Referenced by <a class="el" href="Formations_8C-source.html#l00241">getBehindBall</a>(), <a class="el" href="Formations_8C-source.html#l00074">PlayerTypeInfo</a>(), <a class="el" href="Formations_8C-source.html#l00229">setBehindBall</a>(), <a class="el" href="Formations_8C-source.html#l00090">setValues</a>(), and <a class="el" href="Formations_8C-source.html#l00106">show</a>().    </td>  </tr></table><a name="o1" doxytag="PlayerTypeInfo::dAttrX"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> double PlayerTypeInfo::dAttrX<code> [private]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>x attraction to the ball <p>Definition at line <a class="el" href="Formations_8h-source.html#l00091">91</a> of file <a class="el" href="Formations_8h-source.html">Formations.h</a>.<p>Referenced by <a class="el" href="Formations_8C-source.html#l00151">getAttrX</a>(), <a class="el" href="Formations_8C-source.html#l00074">PlayerTypeInfo</a>(), <a class="el" href="Formations_8C-source.html#l00138">setAttrX</a>(), <a class="el" href="Formations_8C-source.html#l00090">setValues</a>(), and <a class="el" href="Formations_8C-source.html#l00106">show</a>().    </td>  </tr></table><a name="o2" doxytag="PlayerTypeInfo::dAttrY"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> double PlayerTypeInfo::dAttrY<code> [private]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>y attraction to the ball <p>Definition at line <a class="el" href="Formations_8h-source.html#l00092">92</a> of file <a class="el" href="Formations_8h-source.html">Formations.h</a>.<p>Referenced by <a class="el" href="Formations_8C-source.html#l00177">getAttrY</a>(), <a class="el" href="Formations_8C-source.html#l00074">PlayerTypeInfo</a>(), <a class="el" href="Formations_8C-source.html#l00164">setAttrY</a>(), <a class="el" href="Formations_8C-source.html#l00090">setValues</a>(), and <a class="el" href="Formations_8C-source.html#l00106">show</a>().    </td>  </tr></table><a name="o4" doxytag="PlayerTypeInfo::dMaxX"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> double PlayerTypeInfo::dMaxX<code> [private]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>maximal x coordinate for this player type <p>Definition at line <a class="el" href="Formations_8h-source.html#l00094">94</a> of file <a class="el" href="Formations_8h-source.html">Formations.h</a>.<p>Referenced by <a class="el" href="Formations_8C-source.html#l00217">getMaxX</a>(), <a class="el" href="Formations_8C-source.html#l00074">PlayerTypeInfo</a>(), <a class="el" href="Formations_8C-source.html#l00207">setMaxX</a>(), <a class="el" href="Formations_8C-source.html#l00090">setValues</a>(), and <a class="el" href="Formations_8C-source.html#l00106">show</a>().    </td>  </tr></table><a name="o3" doxytag="PlayerTypeInfo::dMinX"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> double PlayerTypeInfo::dMinX<code> [private]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>minimal x coordinate for this player type <p>Definition at line <a class="el" href="Formations_8h-source.html#l00093">93</a> of file <a class="el" href="Formations_8h-source.html">Formations.h</a>.<p>Referenced by <a class="el" href="Formations_8C-source.html#l00197">getMinX</a>(), <a class="el" href="Formations_8C-source.html#l00074">PlayerTypeInfo</a>(), <a class="el" href="Formations_8C-source.html#l00187">setMinX</a>(), <a class="el" href="Formations_8C-source.html#l00090">setValues</a>(), and <a class="el" href="Formations_8C-source.html#l00106">show</a>().    </td>  </tr></table><a name="o0" doxytag="PlayerTypeInfo::playerType"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="SoccerTypes_8h.html#a248">PlayerT</a> PlayerTypeInfo::playerType<code> [private]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This class gives information about this PlayerType <p>Definition at line <a class="el" href="Formations_8h-source.html#l00090">90</a> of file <a class="el" href="Formations_8h-source.html">Formations.h</a>.<p>Referenced by <a class="el" href="Formations_8C-source.html#l00125">getPlayerType</a>(), <a class="el" href="Formations_8C-source.html#l00117">setPlayerType</a>(), <a class="el" href="Formations_8C-source.html#l00090">setValues</a>(), and <a class="el" href="Formations_8C-source.html#l00106">show</a>().    </td>  </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="Formations_8h-source.html">Formations.h</a><li><a class="el" href="Formations_8C-source.html">Formations.C</a></ul><hr><address><small>Generated on Thu Mar 7 00:37:56 2002 for UvA Trilearn 2001 by<a href="http://www.doxygen.org/index.html"><img src="doxygen.gif" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.12 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, &copy;&nbsp;1997-2001</small></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -