classplayersettings.html

来自「仿真人工智能是指用人工的方法和技术」· HTML 代码 · 共 1,391 行 · 第 1/5 页

HTML
1,391
字号
        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This method returns the cone width that is used to check for opponents when passing to a player. A pass is only performed when no opponents are in the cone. The cone is specified as the width to one side after distance 1. So for a value of 0.5 the cone angle equals 45 (22.5 to both sides). <dl compact><dt><b>Returns: </b><dd>cone width in which no opponents are allowed when passing </dl><p>Definition at line <a class="el" href="PlayerSettings_8C-source.html#l00303">303</a> of file <a class="el" href="PlayerSettings_8C-source.html">PlayerSettings.C</a>.<p>References <a class="el" href="PlayerSettings_8h-source.html#l00082">dConeWidth</a>.<p>Referenced by <a class="el" href="BasicPlayer_8C-source.html#l01271">BasicPlayer::outplayOpponent</a>().    </td>  </tr></table><a name="a25" doxytag="PlayerSettings::getFastPassEndSpeed"></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 PlayerSettings::getFastPassEndSpeed </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This method returns the desired end speed for the ball when a fast pass is performed. <dl compact><dt><b>Returns: </b><dd>desired end speed for ball when it is passed fast </dl><p>Definition at line <a class="el" href="PlayerSettings_8C-source.html#l00341">341</a> of file <a class="el" href="PlayerSettings_8C-source.html">PlayerSettings.C</a>.<p>References <a class="el" href="PlayerSettings_8h-source.html#l00085">dFastPassEndSpeed</a>.<p>Referenced by <a class="el" href="BasicPlayer_8C-source.html#l01120">BasicPlayer::directPass</a>().    </td>  </tr></table><a name="a29" doxytag="PlayerSettings::getFractionWaitNoSee"></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 PlayerSettings::getFractionWaitNoSee </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This method returns the fraction of the simulation step that is waited before an action is sent to the server in case no see message will arrive in this cycle. <dl compact><dt><b>Returns: </b><dd>fraction of simulation step that is waited when no see arrives </dl><p>Definition at line <a class="el" href="PlayerSettings_8C-source.html#l00379">379</a> of file <a class="el" href="PlayerSettings_8C-source.html">PlayerSettings.C</a>.<p>References <a class="el" href="PlayerSettings_8h-source.html#l00088">dFractionWaitNoSee</a>.<p>Referenced by <a class="el" href="SenseHandler_8C-source.html#l00125">SenseHandler::setTimeSignal</a>().    </td>  </tr></table><a name="a31" doxytag="PlayerSettings::getFractionWaitSeeBegin"></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 PlayerSettings::getFractionWaitSeeBegin </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This method returns the fraction of the simulation step that is waited before an action is sent to the server in case the see message will arrive in the first half of the cycle. <dl compact><dt><b>Returns: </b><dd>fraction of simulation step that is waited when see arrives in first half of the cycle </dl><p>Definition at line <a class="el" href="PlayerSettings_8C-source.html#l00401">401</a> of file <a class="el" href="PlayerSettings_8C-source.html">PlayerSettings.C</a>.<p>References <a class="el" href="PlayerSettings_8h-source.html#l00091">dFractionWaitSeeBegin</a>.<p>Referenced by <a class="el" href="SenseHandler_8C-source.html#l00125">SenseHandler::setTimeSignal</a>().    </td>  </tr></table><a name="a33" doxytag="PlayerSettings::getFractionWaitSeeEnd"></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 PlayerSettings::getFractionWaitSeeEnd </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This method returns the fraction of the simulation step that is waited before an action is sent to the server in case the see message will arrive in the second half of the cycle. <dl compact><dt><b>Returns: </b><dd>fraction of simulation step that is waited when see arrives in second half of the cycle </dl><p>Definition at line <a class="el" href="PlayerSettings_8C-source.html#l00423">423</a> of file <a class="el" href="PlayerSettings_8C-source.html">PlayerSettings.C</a>.<p>References <a class="el" href="PlayerSettings_8h-source.html#l00094">dFractionWaitSeeEnd</a>.<p>Referenced by <a class="el" href="SenseHandler_8C-source.html#l00125">SenseHandler::setTimeSignal</a>(), and <a class="el" href="WorldModelUpdate_8C-source.html#l00410">WorldModel::updateAll</a>().    </td>  </tr></table><a name="a35" doxytag="PlayerSettings::getMarkDistance"></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 PlayerSettings::getMarkDistance </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This method returns the desired distance to an opponent which should be marked. <dl compact><dt><b>Returns: </b><dd>desired marking distance to an opponent </dl><p>Definition at line <a class="el" href="PlayerSettings_8C-source.html#l00443">443</a> of file <a class="el" href="PlayerSettings_8C-source.html">PlayerSettings.C</a>.<p>References <a class="el" href="PlayerSettings_8h-source.html#l00097">dMarkDistance</a>.    </td>  </tr></table><a name="a23" doxytag="PlayerSettings::getPassEndSpeed"></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 PlayerSettings::getPassEndSpeed </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This method returns the desired end speed for the ball when a normal pass is performed. <dl compact><dt><b>Returns: </b><dd>desired end speed for ball </dl><p>Definition at line <a class="el" href="PlayerSettings_8C-source.html#l00323">323</a> of file <a class="el" href="PlayerSettings_8C-source.html">PlayerSettings.C</a>.<p>References <a class="el" href="PlayerSettings_8h-source.html#l00084">dPassEndSpeed</a>.<p>Referenced by <a class="el" href="BasicPlayer_8C-source.html#l01120">BasicPlayer::directPass</a>(), <a class="el" href="BasicPlayer_8C-source.html#l01718">BasicPlayer::getEndSpeedForPass</a>(), and <a class="el" href="BasicPlayer_8C-source.html#l01147">BasicPlayer::leadingPass</a>().    </td>  </tr></table><a name="a27" doxytag="PlayerSettings::getPassExtraX"></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 PlayerSettings::getPassExtraX </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This method returns the x value that can be added to the position of a teammate when a leading pass to this teammate is performed. <dl compact><dt><b>Returns: </b><dd>x value added to teammate to which is passed </dl><p>Definition at line <a class="el" href="PlayerSettings_8C-source.html#l00360">360</a> of file <a class="el" href="PlayerSettings_8C-source.html">PlayerSettings.C</a>.<p>References <a class="el" href="PlayerSettings_8h-source.html#l00086">dPassExtraX</a>.    </td>  </tr></table><a name="a1" doxytag="PlayerSettings::getPlayerConfThr"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>

⌨️ 快捷键说明

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