harvester
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
harvester [2019/08/23 09:53] – frchris | harvester [2019/08/23 09:55] – [HarvesterRunner.java] frchris | ||
---|---|---|---|
Line 3: | Line 3: | ||
import kareltherobot.Robot; | import kareltherobot.Robot; | ||
- | public class Harvester extends Robot{ | + | public class Harvester extends Robot |
+ | { | ||
- | public Harvester(int street, int avenue, | + | |
- | Direction direction, int beepers) { | + | Direction direction, int beepers) |
- | super(street, | + | |
+ | super(street, | ||
- | } | + | |
public void nameYourMethodHere() | public void nameYourMethodHere() | ||
{ | { | ||
Line 68: | Line 71: | ||
{ | { | ||
Harvester farmer = new Harvester(2, | Harvester farmer = new Harvester(2, | ||
- | // your code here to | + | // your code here to use your new method(s) |
farmer.turnOff(); | farmer.turnOff(); | ||
harvester.txt · Last modified: 2020/08/27 11:44 by frchris