- 134
- 0
- 约3.9万字
- 约 31页
- 2015-12-30 发布于河南
- 举报
《robocode_API中文参考(java)》.pdf
robocode 部分API 中文参考
ahead 向前
public void ahead(double distance)
Immediately moves your robot ahead (forward) by distance measured in pixels.
马上将你的机器人向前移动 以 distance 指定的 多少个像素
This call executes immediately, and does not return until it is complete, i.e. when the remaining
distance to move is 0.
这个函数会马上执行,并且直到完成了任务才返回,比如,当距离已前进完时。
If the robot collides with a wall, the move is complete, meaning that the robot will not move any
further. If the robot collides with another robot, the move is
complete if you are heading toward the other robot.
当机器人撞到墙时,动作也是完成了,意味着此时
您可能关注的文档
- 《PLC远程下载和调试方案(3G)》.pdf
- 《PLC远程监控应用》.pdf
- 《PLD课程设计报告(加水印)》.pdf
- 《PLSQL培训教程》.pdf
- 《PMA培训资料》.pdf
- 《PMBOK精要(第四版)二零一六项目管理》.pdf
- 《PMP试题分析与备考建议-(二零一六年9月考试-PMBOK五版)》.pdf
- 《portal服务器配置详细手册》.pdf
- 《Postgres ConfChina二零一六_徳哥_周正中_数据库安全》.pdf
- 《Postgres ConfChina二零一六_李雨德_上容旋极空间编码数据库引擎》.pdf
- 137-d01hsl10d0厂房L1层区平面图及面积说明.pdf
- SUBCOAK信息及文件参数检查指南.pdf
- 欠压电路待机与多模块热冷控制设计.pdf
- 土耳其索马地区煤炭洗选厂设计研究.pdf
- B7 3,7&5,9层局部平面图1:100页码修正日期语法.pdf
- M12 17Pin女性A-Code圆形连接器接线电路图.pdf
- 弱视儿童轮廓检测阈值研究.pdf
- 2025--2026学年吉林省长春市农安县八年级上册期末物理试卷 [含答案].docx
- 2025--2026学年河南省郑州市实验外国语中学八年级10月月考物理试卷 [含答案].docx
- 2025--2026学年计算题分类强化训练(八年级上册物理人教版(2024) [含答案].docx
原创力文档

文档评论(0)