Difference between revisions of "Category:Extends AdvancedRobot Bots"
Jump to navigation
Jump to search
Awesomeness (talk | contribs) (Making a needed category) |
Awesomeness (talk | contribs) m (Fix) |
||
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, but putting <code>set</code> before a normal <code>Robot</code> method. An example would be: | ||
− | < | + | <pre>setTurnRight(double.POSITIVE_INFINITY); |
− | setAhead(double.POSITIVE_INFINITY);< | + | setAhead(double.POSITIVE_INFINITY);</pre> |
This would have you move in a circle forever. | This would have you move in a circle forever. |
Revision as of 20:22, 3 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, but 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.