Difference between revisions of "Category:Extends AdvancedRobot Bots"

From Robowiki
Jump to navigation Jump to search
m (Fix)
m (fixed grammar mistake)
 
Line 1: Line 1:
Robots that inherit from the class <code>AdvancedRobot</code>.  One of the most important features is that it can do multiple actions at the same time, allowing more complicated movement such as curves, but putting <code>set</code> before a normal <code>Robot</code> method.  An example would be:
+
Robots that inherit from the class <code>AdvancedRobot</code>.  One of the most important features is that it can do multiple actions at the same time, allowing more complicated movement such as curves, by putting <code>set</code> before a normal <code>Robot</code> method.  An example would be:
 
<pre>setTurnRight(double.POSITIVE_INFINITY);
 
<pre>setTurnRight(double.POSITIVE_INFINITY);
 
setAhead(double.POSITIVE_INFINITY);</pre>
 
setAhead(double.POSITIVE_INFINITY);</pre>
 
This would have you move in a circle forever.
 
This would have you move in a circle forever.

Latest revision as of 17:46, 15 May 2009

Robots that inherit from the class AdvancedRobot. One of the most important features is that it can do multiple actions at the same time, allowing more complicated movement such as curves, by putting set before a normal Robot method. An example would be:

setTurnRight(double.POSITIVE_INFINITY);
setAhead(double.POSITIVE_INFINITY);

This would have you move in a circle forever.

Pages in category "Extends AdvancedRobot Bots"

The following 200 pages are in this category, out of 277 total.

(previous page) (next page)
(previous page) (next page)