stairsweeper
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
stairsweeper [2019/08/23 09:43] – [StairSweeper.java] frchris | stairsweeper [2019/08/23 09:43] – [StairSweeperRunner.java] frchris | ||
---|---|---|---|
Line 37: | Line 37: | ||
import kareltherobot.World; | import kareltherobot.World; | ||
- | public class StairSweeperRunner implements Directions{ | + | public class StairSweeperRunner implements Directions |
+ | { | ||
- | public static void main(String[] args) { | + | public static void main(String[] args) |
+ | | ||
String steps = " | String steps = " | ||
" | " | ||
Line 56: | Line 58: | ||
World.getWorld(steps); | World.getWorld(steps); | ||
World.setVisible(); | World.setVisible(); | ||
- | | + | |
} | } | ||
- | private static void task() { | + | private static void task() |
+ | | ||
StairSweeper alexa = new StairSweeper(1, | StairSweeper alexa = new StairSweeper(1, | ||
alexa.climbStair(); | alexa.climbStair(); |
stairsweeper.txt · Last modified: 2023/08/22 09:50 by frchris