Difference between revisions of "Robocode/Robot Anatomy"
< Robocode
Jump to navigation
Jump to search
m |
|||
Line 3: | Line 3: | ||
http://robocode.sourceforge.net/help/robots/anatomy.jpg | http://robocode.sourceforge.net/help/robots/anatomy.jpg | ||
− | * Body - Carries the gun with the radar on top. The body is used for moving the robot ahead and back, as well as turning left or right. | + | * '''Body''' - Carries the gun with the radar on top. The body is used for moving the robot ahead and back, as well as turning left or right. |
− | * Gun - Mounted on the body and is used for firing energy bullets. The gun can turn left or right. | + | * '''Gun''' - Mounted on the body and is used for firing energy bullets. The gun can turn left or right. |
− | * Radar - Mounted on the gun and is used for scanning other robot when moved. The radar can turn left or right. The radar generates onScannedRobot events when robots are detected. | + | * '''Radar''' - Mounted on the gun and is used for scanning other robot when moved. The radar can turn left or right. The radar generates onScannedRobot events when robots are detected. |
[[Category:Robocode Documentation]] | [[Category:Robocode Documentation]] |
Revision as of 00:52, 27 November 2007
A robot consists of three individual parts:
http://robocode.sourceforge.net/help/robots/anatomy.jpg
- Body - Carries the gun with the radar on top. The body is used for moving the robot ahead and back, as well as turning left or right.
- Gun - Mounted on the body and is used for firing energy bullets. The gun can turn left or right.
- Radar - Mounted on the gun and is used for scanning other robot when moved. The radar can turn left or right. The radar generates onScannedRobot events when robots are detected.