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

📄 index-all.html

📁 java的机器人大战
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Sat May 17 16:40:49 CST 2003 -->
<TITLE>
Index
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<SCRIPT>
function asd()
{
parent.document.title="Index";
}
</SCRIPT>
<BODY BGCOLOR="white" onload="asd();">

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV&nbsp;
&nbsp;NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="index-all.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT>  <!--  if(window==top) {    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT><A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A></NOSCRIPT></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<A HREF="#_A_">A</A> <A HREF="#_B_">B</A> <A HREF="#_E_">E</A> <A HREF="#_F_">F</A> <A HREF="#_G_">G</A> <A HREF="#_H_">H</A> <A HREF="#_M_">M</A> <A HREF="#_O_">O</A> <A HREF="#_P_">P</A> <A HREF="#_R_">R</A> <A HREF="#_S_">S</A> <A HREF="#_T_">T</A> <A HREF="#_W_">W</A> <HR>
<A NAME="_A_"><!-- --></A><H2>
<B>A</B></H2>
<DL>
<DT><A HREF="AIplatform/event/package-summary.html"><B>AIplatform.event</B></A> - package AIplatform.event<DD>&nbsp;<DT><A HREF="AIplatform/robot/package-summary.html"><B>AIplatform.robot</B></A> - package AIplatform.robot<DD>&nbsp;</DL>
<HR>
<A NAME="_B_"><!-- --></A><H2>
<B>B</B></H2>
<DL>
<DT><A HREF="AIplatform/event/BeginEvent.html"><B>BeginEvent</B></A> - class AIplatform.event.<A HREF="AIplatform/event/BeginEvent.html">BeginEvent</A>.<DD>战斗开始事件  当开始一轮新的战斗时,该事件触发<DT><A HREF="AIplatform/event/BeginEvent.html#BeginEvent(AIplatform.battle.peer.RobotPeer)"><B>BeginEvent(RobotPeer)</B></A> - 
Constructor for class AIplatform.event.<A HREF="AIplatform/event/BeginEvent.html">BeginEvent</A>
<DD>&nbsp;
<DT><A HREF="AIplatform/robot/Body.html"><B>Body</B></A> - class AIplatform.robot.<A HREF="AIplatform/robot/Body.html">Body</A>.<DD>&nbsp;&nbsp;&nbsp;&nbsp;用户车身单元。<DT><A HREF="AIplatform/robot/Body.html#Body(AIplatform.robot.Robot)"><B>Body(Robot)</B></A> - 
Constructor for class AIplatform.robot.<A HREF="AIplatform/robot/Body.html">Body</A>
<DD>&nbsp;
<DT><A HREF="AIplatform/event/BulletHitEvent.html"><B>BulletHitEvent</B></A> - class AIplatform.event.<A HREF="AIplatform/event/BulletHitEvent.html">BulletHitEvent</A>.<DD>子弹击中敌人事件 当你打中敌人时,该事件触发<DT><A HREF="AIplatform/event/BulletHitEvent.html#BulletHitEvent(AIplatform.battle.peer.RobotPeer, AIplatform.battle.peer.BulletPeer)"><B>BulletHitEvent(RobotPeer, BulletPeer)</B></A> - 
Constructor for class AIplatform.event.<A HREF="AIplatform/event/BulletHitEvent.html">BulletHitEvent</A>
<DD>创建一个子弹命中事件
</DL>
<HR>
<A NAME="_E_"><!-- --></A><H2>
<B>E</B></H2>
<DL>
<DT><A HREF="AIplatform/event/Event.html"><B>Event</B></A> - class AIplatform.event.<A HREF="AIplatform/event/Event.html">Event</A>.<DD>这个类是所有系统传递给robot的事件类的超类<DT><A HREF="AIplatform/event/Event.html#Event(AIplatform.battle.peer.RobotPeer)"><B>Event(RobotPeer)</B></A> - 
Constructor for class AIplatform.event.<A HREF="AIplatform/event/Event.html">Event</A>
<DD>&nbsp;
</DL>
<HR>
<A NAME="_F_"><!-- --></A><H2>
<B>F</B></H2>
<DL>
<DT><A HREF="AIplatform/event/FinishEvent.html"><B>FinishEvent</B></A> - class AIplatform.event.<A HREF="AIplatform/event/FinishEvent.html">FinishEvent</A>.<DD>战斗结束事件 当一轮战斗结束时,该事件触发<DT><A HREF="AIplatform/event/FinishEvent.html#FinishEvent(AIplatform.battle.peer.RobotPeer)"><B>FinishEvent(RobotPeer)</B></A> - 
Constructor for class AIplatform.event.<A HREF="AIplatform/event/FinishEvent.html">FinishEvent</A>
<DD>&nbsp;
<DT><A HREF="AIplatform/robot/Gun.html#fire(double)"><B>fire(double)</B></A> - 
Method in class AIplatform.robot.<A HREF="AIplatform/robot/Gun.html">Gun</A>
<DD>发射炮弹 炮弹的运动方向与发射时候炮管的方向一致 当炮弹击中敌人的时候,敌人能量将减少power*4,你将得到power*3的能量
</DL>
<HR>
<A NAME="_G_"><!-- --></A><H2>
<B>G</B></H2>
<DL>
<DT><A HREF="AIplatform/robot/Robot.html#getBody()"><B>getBody()</B></A> - 
Method in class AIplatform.robot.<A HREF="AIplatform/robot/Robot.html">Robot</A>
<DD>得到车身控制器Example    //设置机器人运动速度为8,当然这需要一个加速的过程,加速过程将由系统控制实现  getBody().move(8.0); 
<DT><A HREF="AIplatform/robot/Robot.html#getCurrentRound()"><B>getCurrentRound()</B></A> - 
Method in class AIplatform.robot.<A HREF="AIplatform/robot/Robot.html">Robot</A>
<DD>得到当前的比赛轮数
<DT><A HREF="AIplatform/robot/Robot.html#getEnergy()"><B>getEnergy()</B></A> - 
Method in class AIplatform.robot.<A HREF="AIplatform/robot/Robot.html">Robot</A>
<DD>得到剩余能量
<DT><A HREF="AIplatform/event/ScannedRobotEvent.html#getEnergy()"><B>getEnergy()</B></A> - 
Method in class AIplatform.event.<A HREF="AIplatform/event/ScannedRobotEvent.html">ScannedRobotEvent</A>
<DD>得到被扫描到的机器人的能量
<DT><A HREF="AIplatform/robot/Robot.html#getGun()"><B>getGun()</B></A> - 
Method in class AIplatform.robot.<A HREF="AIplatform/robot/Robot.html">Robot</A>
<DD>得到炮管控制器Example    //发射火力为3的子弹  getGun().fire(3); 
<DT><A HREF="AIplatform/robot/Radar.html#getHeading()"><B>getHeading()</B></A> - 
Method in class AIplatform.robot.<A HREF="AIplatform/robot/Radar.html">Radar</A>
<DD>得到当前的雷达方向
<DT><A HREF="AIplatform/robot/Gun.html#getHeading()"><B>getHeading()</B></A> - 
Method in class AIplatform.robot.<A HREF="AIplatform/robot/Gun.html">Gun</A>
<DD>得到当前的炮管方向
<DT><A HREF="AIplatform/robot/Body.html#getHeading()"><B>getHeading()</B></A> - 
Method in class AIplatform.robot.<A HREF="AIplatform/robot/Body.html">Body</A>
<DD>得到当前的车身方向
<DT><A HREF="AIplatform/event/ScannedRobotEvent.html#getHeading()"><B>getHeading()</B></A> - 
Method in class AIplatform.event.<A HREF="AIplatform/event/ScannedRobotEvent.html">ScannedRobotEvent</A>
<DD>得到被扫描到的机器人的方向
<DT><A HREF="AIplatform/robot/Map.html#getHeight()"><B>getHeight()</B></A> - 
Method in class AIplatform.robot.<A HREF="AIplatform/robot/Map.html">Map</A>
<DD>返回战场高
<DT><A HREF="AIplatform/robot/Robot.html#getMap()"><B>getMap()</B></A> - 
Method in class AIplatform.robot.<A HREF="AIplatform/robot/Robot.html">Robot</A>
<DD>得到战场场地的宽
<DT><A HREF="AIplatform/event/ScannedRobotEvent.html#getName()"><B>getName()</B></A> - 
Method in class AIplatform.event.<A HREF="AIplatform/event/ScannedRobotEvent.html">ScannedRobotEvent</A>
<DD>得到被扫描到的机器人的名字
<DT><A HREF="AIplatform/event/RobotDeathEvent.html#getName()"><B>getName()</B></A> - 
Method in class AIplatform.event.<A HREF="AIplatform/event/RobotDeathEvent.html">RobotDeathEvent</A>
<DD>得到死亡的机器人的名字
<DT><A HREF="AIplatform/event/HitRobotEvent.html#getName()"><B>getName()</B></A> - 
Method in class AIplatform.event.<A HREF="AIplatform/event/HitRobotEvent.html">HitRobotEvent</A>
<DD>得到相撞的机器人的名字
<DT><A HREF="AIplatform/event/HitByBulletEvent.html#getName()"><B>getName()</B></A> - 
Method in class AIplatform.event.<A HREF="AIplatform/event/HitByBulletEvent.html">HitByBulletEvent</A>
<DD>得到发出这颗子弹的机器人的名字
<DT><A HREF="AIplatform/event/BulletHitEvent.html#getName()"><B>getName()</B></A> - 
Method in class AIplatform.event.<A HREF="AIplatform/event/BulletHitEvent.html">BulletHitEvent</A>
<DD>得到中弹敌人的名字
<DT><A HREF="AIplatform/robot/Robot.html#getOthers()"><B>getOthers()</B></A> - 

⌨️ 快捷键说明

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