Difference between revisions of "AdvancedRobot"

From Robowiki
Jump to navigation Jump to search
m (Removing parent category membership)
Line 1: Line 1:
{{migrating|user=FlemmingLarsen}}
+
This page is dedicated for describing the <code>robocode.AdvancedRobot</code>
 +
 
 +
----
 +
 
 +
If you want to make an advancedRobot,
 +
You will need to change only one line in the source code.
 +
 
 +
So just replace
 +
<code>public class nameofyourrobot extends Robot</code>
 +
 
 +
By :
 +
<code>public class nameofyourrobot extends AdvancedRobot</code>
 +
 
 +
After that, you will access to a lot of new event and more functions like turnRadarRightRadians.
 +
 
 +
See more at Robocode API : [http://robocode.sourceforge.net/docs/robocode/robocode/AdvancedRobot.html]
  
This page is dedicated for describing the <code>robocode.AdvancedRobot</code>
 
  
 
[[Category:Robocode API]]
 
[[Category:Robocode API]]

Revision as of 15:35, 9 September 2012

This page is dedicated for describing the robocode.AdvancedRobot


If you want to make an advancedRobot, You will need to change only one line in the source code.

So just replace public class nameofyourrobot extends Robot

By : public class nameofyourrobot extends AdvancedRobot

After that, you will access to a lot of new event and more functions like turnRadarRightRadians.

See more at Robocode API : [1]