classheteroplayersettings.html

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

HTML
368
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>HeteroPlayerSettings class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body bgcolor="#ffffff"><!-- Generated by Doxygen 1.2.12 --><center><a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center><hr><h1>HeteroPlayerSettings  Class Reference</h1><code>#include &lt;<a class="el" href="ServerSettings_8h-source.html">ServerSettings.h</a>&gt;</code><p><a href="classHeteroPlayerSettings-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0><tr><td colspan=2><br><h2>Public Methods</h2></td></tr><tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classHeteroPlayerSettings.html#a0">show</a> (ostream &amp;os=cout)</td></tr><tr><td colspan=2><br><h2>Public Attributes</h2></td></tr><tr><td nowrap align=right valign=top>double&nbsp;</td><td valign=bottom><a class="el" href="classHeteroPlayerSettings.html#m0">dPlayerSpeedMax</a></td></tr><tr><td nowrap align=right valign=top>double&nbsp;</td><td valign=bottom><a class="el" href="classHeteroPlayerSettings.html#m1">dStaminaIncMax</a></td></tr><tr><td nowrap align=right valign=top>double&nbsp;</td><td valign=bottom><a class="el" href="classHeteroPlayerSettings.html#m2">dPlayerDecay</a></td></tr><tr><td nowrap align=right valign=top>double&nbsp;</td><td valign=bottom><a class="el" href="classHeteroPlayerSettings.html#m3">dInertiaMoment</a></td></tr><tr><td nowrap align=right valign=top>double&nbsp;</td><td valign=bottom><a class="el" href="classHeteroPlayerSettings.html#m4">dDashPowerRate</a></td></tr><tr><td nowrap align=right valign=top>double&nbsp;</td><td valign=bottom><a class="el" href="classHeteroPlayerSettings.html#m5">dPlayerSize</a></td></tr><tr><td nowrap align=right valign=top>double&nbsp;</td><td valign=bottom><a class="el" href="classHeteroPlayerSettings.html#m6">dKickableMargin</a></td></tr><tr><td nowrap align=right valign=top>double&nbsp;</td><td valign=bottom><a class="el" href="classHeteroPlayerSettings.html#m7">dKickRand</a></td></tr><tr><td nowrap align=right valign=top>double&nbsp;</td><td valign=bottom><a class="el" href="classHeteroPlayerSettings.html#m8">dExtraStamina</a></td></tr><tr><td nowrap align=right valign=top>double&nbsp;</td><td valign=bottom><a class="el" href="classHeteroPlayerSettings.html#m9">dEffortMax</a></td></tr><tr><td nowrap align=right valign=top>double&nbsp;</td><td valign=bottom><a class="el" href="classHeteroPlayerSettings.html#m10">dEffortMin</a></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>This class contains all the SoccerServer parameters which together define a heterogeneous player type. For each player type these parameters are initialized when the server is started. <p><p>Definition at line <a class="el" href="ServerSettings_8h-source.html#l00600">600</a> of file <a class="el" href="ServerSettings_8h-source.html">ServerSettings.h</a>.<hr><h2>Member Function Documentation</h2><a name="a0" doxytag="HeteroPlayerSettings::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 HeteroPlayerSettings::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 prints all the values of this heterogeneous player type to the supplied output. <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 values are printed. </td></tr></table></dl><p>Definition at line <a class="el" href="ServerSettings_8C-source.html#l02315">2315</a> of file <a class="el" href="ServerSettings_8C-source.html">ServerSettings.C</a>.<p>References <a class="el" href="ServerSettings_8h-source.html#l00610">dDashPowerRate</a>, <a class="el" href="ServerSettings_8h-source.html#l00624">dEffortMax</a>, <a class="el" href="ServerSettings_8h-source.html#l00625">dEffortMin</a>, <a class="el" href="ServerSettings_8h-source.html#l00622">dExtraStamina</a>, <a class="el" href="ServerSettings_8h-source.html#l00608">dInertiaMoment</a>, <a class="el" href="ServerSettings_8h-source.html#l00618">dKickableMargin</a>, <a class="el" href="ServerSettings_8h-source.html#l00621">dKickRand</a>, <a class="el" href="ServerSettings_8h-source.html#l00607">dPlayerDecay</a>, <a class="el" href="ServerSettings_8h-source.html#l00614">dPlayerSize</a>, <a class="el" href="ServerSettings_8h-source.html#l00604">dPlayerSpeedMax</a>, and <a class="el" href="ServerSettings_8h-source.html#l00605">dStaminaIncMax</a>.    </td>  </tr></table><hr><h2>Member Data Documentation</h2><a name="m4" doxytag="HeteroPlayerSettings::dDashPowerRate"></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 HeteroPlayerSettings::dDashPowerRate      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>dash_power_rate: rate by which the 'Power' argument in a 'dash' command is multiplied (thus determining the amount of displacement of the player as a result of the 'dash') <p>Definition at line <a class="el" href="ServerSettings_8h-source.html#l00610">610</a> of file <a class="el" href="ServerSettings_8h-source.html">ServerSettings.h</a>.<p>Referenced by <a class="el" href="WorldModelUpdate_8C-source.html#l00341">WorldModel::processNewHeteroPlayer</a>(), and <a class="el" href="ServerSettings_8C-source.html#l02315">show</a>().    </td>  </tr></table><a name="m9" doxytag="HeteroPlayerSettings::dEffortMax"></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 HeteroPlayerSettings::dEffortMax      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>effort_max: maximum value for player effort <p>Definition at line <a class="el" href="ServerSettings_8h-source.html#l00624">624</a> of file <a class="el" href="ServerSettings_8h-source.html">ServerSettings.h</a>.<p>Referenced by <a class="el" href="WorldModelUpdate_8C-source.html#l00341">WorldModel::processNewHeteroPlayer</a>(), and <a class="el" href="ServerSettings_8C-source.html#l02315">show</a>().    </td>  </tr></table><a name="m10" doxytag="HeteroPlayerSettings::dEffortMin"></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 HeteroPlayerSettings::dEffortMin      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>effort_min: minimum value for player effort <p>Definition at line <a class="el" href="ServerSettings_8h-source.html#l00625">625</a> of file <a class="el" href="ServerSettings_8h-source.html">ServerSettings.h</a>.<p>Referenced by <a class="el" href="WorldModelUpdate_8C-source.html#l00341">WorldModel::processNewHeteroPlayer</a>(), and <a class="el" href="ServerSettings_8C-source.html#l02315">show</a>().    </td>  </tr></table><a name="m8" doxytag="HeteroPlayerSettings::dExtraStamina"></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 HeteroPlayerSettings::dExtraStamina      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>extra_stamina: extra stamina for heterogeneous player <p>Definition at line <a class="el" href="ServerSettings_8h-source.html#l00622">622</a> of file <a class="el" href="ServerSettings_8h-source.html">ServerSettings.h</a>.<p>Referenced by <a class="el" href="WorldModelUpdate_8C-source.html#l00341">WorldModel::processNewHeteroPlayer</a>(), and <a class="el" href="ServerSettings_8C-source.html#l02315">show</a>().    </td>  </tr></table><a name="m3" doxytag="HeteroPlayerSettings::dInertiaMoment"></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 HeteroPlayerSettings::dInertiaMoment      </table>

⌨️ 快捷键说明

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