Difference between revisions of "Category:Extends AdvancedRobot Bots"
Jump to navigation
Jump to search
Awesomeness (talk | contribs) (Making a needed category) |
J Litewski (talk | contribs) m (fixed grammar mistake) |
||
| (One intermediate revision by one other user not shown) | |||
| 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, | + | 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); |
| − | 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. | ||
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.